mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
progressively indenting sidenav submenus for hierarchical clarity
This commit is contained in:
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user