Skip to content

Commit

Permalink
draw nav line
Browse files Browse the repository at this point in the history
  • Loading branch information
fantkolja committed Aug 13, 2024
1 parent bcc73f0 commit 9bffea6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Binary file modified build/ui-bundle.zip
Binary file not shown.
11 changes: 4 additions & 7 deletions src/css/nav.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.nav-container {
--nav-x-padding: 10px;
--nav-item-padding-left: 10px;
--nav-item-padding-left: 14px;
--nav-line-left: 5px;

position: fixed;
Expand Down Expand Up @@ -125,12 +125,8 @@ html.is-clipped--nav {
bottom: 0;
}

.nav-link {
position: relative;
}

.nav-item.is-current-path:not([data-depth="0"]) > .nav-link::before,
.nav-item.is-current-path:not([data-depth="0"]) > .nav-text::before {
.nav-item.is-current-path[data-depth="0"] .nav-item.is-active:not(.is-current-page) > .nav-link::before,
.nav-item.is-current-path[data-depth="0"] .nav-item.is-active:not(.is-current-page) > .nav-text::before {
--nav-line-dot-width: 5px;

content: '';
Expand Down Expand Up @@ -205,6 +201,7 @@ html.is-clipped--nav {
.nav-link,
.nav-text {
padding-right: 15px;
position: relative;
}

.nav-link.enterprise::after {
Expand Down

0 comments on commit 9bffea6

Please sign in to comment.