fix: added description for section

This commit is contained in:
Shariq Ansari 2023-01-02 12:03:50 +05:30
parent c29f6892b3
commit 69af3e883b
2 changed files with 11 additions and 0 deletions

View file

@ -210,6 +210,10 @@ onMounted(() => {
}
}
.section-description {
padding-left: 15px;
}
.section-columns {
margin-top: 8px;

View file

@ -128,6 +128,7 @@ function move_sections_to_tab() {
</button>
</div>
</div>
<div v-if="section.df.description" class="section-description">{{ section.df.description }}</div>
<div class="section-columns" :class="{ hidden: section.df.collapsible && collapsed }">
<draggable
class="section-columns-container"
@ -228,6 +229,12 @@ function move_sections_to_tab() {
}
}
.section-description {
margin-bottom: 10px;
font-size: var(--text-xs);
color: var(--text-muted);
}
.section-columns-container {
display: flex;
min-height: 2rem;