mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03: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" />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="index">
|
||||
{index + 1}
|
||||
<span class="sectionTitle">
|
||||
{index + 1}
|
||||
</span>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="header">
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
@ -164,6 +166,7 @@
|
||||
class:text-editor-highlighted-node-warning={isActiveSectionNode ||
|
||||
$groupedDocumentComments.hasDocumentComments(value.key)}
|
||||
class:text-editor-highlighted-node-selected={isActiveSectionNode}
|
||||
class="sectionTitle"
|
||||
bind:this={sectionElement}
|
||||
on:click={handleDisplayDocumentComments}
|
||||
>
|
||||
@ -203,3 +206,10 @@
|
||||
/>
|
||||
</svelte:fragment>
|
||||
</FieldSectionEditor>
|
||||
|
||||
<style lang="scss">
|
||||
.sectionTitle {
|
||||
font-size: 1.75rem;
|
||||
line-height: 150%;
|
||||
}
|
||||
</style>
|
||||
|
@ -214,6 +214,7 @@
|
||||
</div>
|
||||
{/each}
|
||||
{/if}
|
||||
<div class="bottomSpacing no-print" />
|
||||
</div>
|
||||
</Scroller>
|
||||
</div>
|
||||
@ -269,6 +270,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
.bottomSpacing {
|
||||
padding-bottom: 30vh;
|
||||
}
|
||||
.drag-over-highlight {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user