progressively indenting sidenav submenus for hierarchical clarity

This commit is contained in:
adisposkofh
2026-09-14 11:31:53 +02:00
parent 40b28b88b9
commit fcf3cbac6c
+4 -2
View File
@@ -184,7 +184,8 @@ export default {
'btn btn-default rounded-0 text-start': true,
['btn-level-' + level]: true,
'fw-bold':active
}">
}"
:style="'padding-left: calc(var(--bs-btn-padding-x) * ' + $props.level + ');'">
{{ entry.titel }}
</a>
<button @click.prevent="toggleCollapse" :aria-expanded="entry.menu_open"
@@ -208,7 +209,8 @@ export default {
['btn-level-' + level]: true,
'fw-bold':active
}"
@mouseup="setActiveEntry(entry.content_id)">
@mouseup="setActiveEntry(entry.content_id)"
:style="'padding-left: calc(var(--bs-btn-padding-x) * ' + $props.level + ');'">
{{ entry.titel }}
</a>
</template>`