fix: sub menu spacing
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -134,4 +134,22 @@ export default {
|
|||||||
.leftSidebar.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering) .menu-mode-btn:not(.menu-mode-btn--active) {
|
.leftSidebar.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering) .menu-mode-btn:not(.menu-mode-btn--active) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sub-menu items: Vuetify's default group indent (prepend width + indent
|
||||||
|
size) stacks up to ~72px; bring it back down closer to top-level items */
|
||||||
|
.scrollnavbar :deep(.v-list-group__items .v-list-item) {
|
||||||
|
padding-inline-start: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Collapsed rail (not hovering): sub-items have no room to show icon or
|
||||||
|
text, so they render as an empty highlighted bar when active. Hide the
|
||||||
|
expanded group entirely and highlight the parent icon instead. */
|
||||||
|
.leftSidebar.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering) :deep(.v-list-group__items) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSidebar.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering)
|
||||||
|
:deep(.v-list-group:has(.v-list-item--active) > .v-list-item.v-list-group__header) {
|
||||||
|
color: rgb(var(--v-theme-primary));
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user