1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-26 00:29:47 +02:00

Change location of add section at bottom of content

This commit is contained in:
sauls8t 2019-01-24 13:51:55 +00:00
parent f5bdbb49d0
commit 9fd002b5da
2 changed files with 20 additions and 19 deletions

View file

@ -61,12 +61,12 @@
.start-section {
@extend .no-select;
text-align: center;
margin: 0.5rem 0;
margin: 2rem 0;
display: block;
> i {
background-color: map-get($yellow-shades, 100);
color: map-get($yellow-shades, 500);
background-color: map-get($green-shades, 100);
color: map-get($green-shades, 500);
vertical-align: middle;
padding: 0.5rem;
font-size: 16px;
@ -75,7 +75,7 @@
cursor: pointer;
&:hover {
color: map-get($yellow-shades, 700);
color: map-get($green-shades, 700);
}
}
}

View file

@ -22,6 +22,16 @@
onPageSequenceChange=(action onPageSequenceChange)
onShowSectionWizard=(action "onShowSectionWizard")}}
{{/each}}
{{/if}}
{{#if canEdit}}
<div class="start-section">
<i class="dicon {{constants.Icon.Plus}}" {{action "onShowSectionWizard"}}>
{{#attach-tooltip showDelay=1000}}Insert section here{{/attach-tooltip}}
</i>
</div>
{{/if}}
{{#if showLikes}}
<div class="vote-box no-print">
{{#if voteThanks}}
@ -37,15 +47,6 @@
{{/if}}
</div>
{{/if}}
{{/if}}
{{#if canEdit}}
<div class="start-section">
<i class="dicon {{constants.Icon.Plus}}" {{action "onShowSectionWizard"}}>
{{#attach-tooltip showDelay=1000}}Insert section here{{/attach-tooltip}}
</i>
</div>
{{/if}}
{{#if canEdit}}
{{document/add-section