Skip to content

Commit 2958711

Browse files
fixed bugs
1 parent 67b0acd commit 2958711

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/css/custom.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,4 +1349,35 @@ html {
13491349
left: auto !important;
13501350
pointer-events: auto !important;
13511351
}
1352+
1353+
/* Fix: Remove extra box/space above dropdown nav items in sidebar */
1354+
.navbar-sidebar__item,
1355+
.navbar-sidebar__link,
1356+
.navbar-sidebar__brand {
1357+
margin-top: 0 !important;
1358+
padding-top: 0 !important;
1359+
border-top: none !important;
1360+
box-shadow: none !important;
1361+
}
1362+
.navbar-sidebar__item:first-child,
1363+
.navbar-sidebar__link:first-child {
1364+
margin-top: 0 !important;
1365+
padding-top: 0 !important;
1366+
border-top: none !important;
1367+
box-shadow: none !important;
1368+
}
1369+
/* Remove any unwanted hr or divider above dropdowns */
1370+
.navbar-sidebar hr,
1371+
.navbar-sidebar__item hr {
1372+
display: none !important;
1373+
margin: 0 !important;
1374+
padding: 0 !important;
1375+
border: none !important;
1376+
}
1377+
/* Remove grid gap above dropdowns */
1378+
.navbar-sidebar .grid {
1379+
gap: 0 !important;
1380+
margin-top: 0 !important;
1381+
padding-top: 0 !important;
1382+
}
13521383
}

0 commit comments

Comments
 (0)