Skip to content

Commit 8aa54af

Browse files
committed
remove left margin from nav list with no category
1 parent d1f8362 commit 8aa54af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/css/nav.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@
7676
margin-left: 0.75em;
7777
}
7878

79+
/* NOTE navigation list without a category */
80+
.nav-item[data-depth="0"] > .nav-list:first-child {
81+
margin-left: -0.75em;
82+
}
83+
7984
.nav-menu .nav-item[data-depth="0"] + .nav-item {
8085
margin-top: 1.25em;
8186
}

0 commit comments

Comments
 (0)