1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 07:25:21 +02:00

requested changes

This commit is contained in:
Murod Khaydarov 2019-01-25 03:25:03 +03:00
parent a48e9474be
commit f7cb2406d7
No known key found for this signature in database
GPG key ID: C480BA53A8D274C5
4 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -34,6 +34,7 @@
--button-danger { --button-danger {
background: var(--color-button-danger); background: var(--color-button-danger);
color: #fff; color: #fff;
box-shadow: none;
&:hover { &:hover {
background: color-mod(var(--color-button-danger) blackness(+10%)); background: color-mod(var(--color-button-danger) blackness(+10%));
@ -43,6 +44,7 @@
--button-primary { --button-primary {
background: var(--color-link-active); background: var(--color-link-active);
color: #fff; color: #fff;
box-shadow: none;
&:hover { &:hover {
background: color-mod(var(--color-link-active) blackness(+10%)); background: color-mod(var(--color-link-active) blackness(+10%));

View file

@ -28,7 +28,7 @@
</h1> </h1>
<section class="page__content"> <section class="page__content">
{% for block in page.body.blocks %} {% for block in page.body.blocks %}
Skip first header, because it is already showed as a Title {#Skip first header, because it is already showed as a Title#}
{% if not (loop.first and block.type == 'header') %} {% if not (loop.first and block.type == 'header') %}
{% if block.type in ['paragraph', 'header', 'list', 'code'] %} {% if block.type in ['paragraph', 'header', 'list', 'code'] %}
{% include './blocks/' ~ block.type ~ '.twig' with block.data %} {% include './blocks/' ~ block.type ~ '.twig' with block.data %}

View file

@ -325,7 +325,6 @@ describe('Pages REST: ', () => {
expect(res).to.be.json; expect(res).to.be.json;
const {result: {_id}} = res.body; const {result: {_id}} = res.body;
console.log('_id', _id);
res = await agent res = await agent
.delete(`/api/page/${_id}`); .delete(`/api/page/${_id}`);