Skip to content

Commit 3bafebc

Browse files
committed
fix(ui): align nav tree multiline and leaf vs. folder text column
Made-with: Cursor
1 parent 64b7283 commit 3bafebc

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

supplemental-ui/css/site-extra.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,4 +737,22 @@ html.dark-theme [role="blue"] {
737737
/* Video embeds wrapper */
738738
html.dark-theme .videoblock {
739739
background-color: transparent;
740+
}
741+
742+
/* Nav tree: one label column for every row (aligns multi-line and leaf vs. folder;
743+
same idea as default UI nav.css; keeps older core bundles useful until upgraded). */
744+
.nav .nav-item {
745+
position: relative;
746+
}
747+
748+
.nav .nav-item > .nav-link,
749+
.nav .nav-item > .nav-text {
750+
display: block;
751+
box-sizing: border-box;
752+
width: 100%;
753+
max-width: 100%;
754+
text-indent: 0;
755+
word-wrap: break-word;
756+
overflow-wrap: break-word;
757+
padding-left: calc(var(--nav-line-height) * 1em + 0.15em);
740758
}

0 commit comments

Comments
 (0)