1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Clean up navigation menu

This commit is contained in:
jeremystretch
2023-03-24 22:01:41 -04:00
parent ea1801bad3
commit 37aa07eea1
5 changed files with 48 additions and 20 deletions

View File

@@ -185,6 +185,10 @@
margin-bottom: 0;
}
.nav {
margin-bottom: 0.5rem;
}
// Child Link nav-item
.nav .nav-item {
display: flex;
@@ -193,8 +197,7 @@
width: 100%;
&.no-buttons {
// When there are no buttons, don't extend to the full width of the sidenav.
padding-right: $spacer * 5;
padding-right: 0.5rem;
}
}
@@ -262,7 +265,6 @@
margin-left: -$sidenav-spacing-x;
.nav-item {
margin-top: 2px;
&.disabled {
cursor: not-allowed;