mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 23:32:14 +00:00
EZQMS-1140: Controlled doc content display improvements (#6110)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
parent
9cc64569ba
commit
0f1231e572
@ -154,7 +154,9 @@
|
|||||||
<slot name="before-header" />
|
<slot name="before-header" />
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<svelte:fragment slot="index">
|
<svelte:fragment slot="index">
|
||||||
{index + 1}
|
<span class="sectionTitle">
|
||||||
|
{index + 1}
|
||||||
|
</span>
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<svelte:fragment slot="header">
|
<svelte:fragment slot="header">
|
||||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
@ -164,6 +166,7 @@
|
|||||||
class:text-editor-highlighted-node-warning={isActiveSectionNode ||
|
class:text-editor-highlighted-node-warning={isActiveSectionNode ||
|
||||||
$groupedDocumentComments.hasDocumentComments(value.key)}
|
$groupedDocumentComments.hasDocumentComments(value.key)}
|
||||||
class:text-editor-highlighted-node-selected={isActiveSectionNode}
|
class:text-editor-highlighted-node-selected={isActiveSectionNode}
|
||||||
|
class="sectionTitle"
|
||||||
bind:this={sectionElement}
|
bind:this={sectionElement}
|
||||||
on:click={handleDisplayDocumentComments}
|
on:click={handleDisplayDocumentComments}
|
||||||
>
|
>
|
||||||
@ -203,3 +206,10 @@
|
|||||||
/>
|
/>
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
</FieldSectionEditor>
|
</FieldSectionEditor>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.sectionTitle {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
line-height: 150%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
<div class="bottomSpacing no-print" />
|
||||||
</div>
|
</div>
|
||||||
</Scroller>
|
</Scroller>
|
||||||
</div>
|
</div>
|
||||||
@ -269,6 +270,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bottomSpacing {
|
||||||
|
padding-bottom: 30vh;
|
||||||
|
}
|
||||||
.drag-over-highlight {
|
.drag-over-highlight {
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user