Skip to content

Commit

Permalink
Merge pull request #3703 from OpenLiberty/doc_nav
Browse files Browse the repository at this point in the history
Fixed the cutting of toc for api/spi docs too
  • Loading branch information
natalie-bernhard authored Apr 30, 2024
2 parents 89de940 + cb75b1b commit 7fb0647
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/content/antora_ui/src/sass/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@ html.is-clipped--nav {
}
}

.nav-item[data-depth="3"]{
display: block;
overflow-wrap: break-word;
& > a{
display: block;
}
}

.nav-item.is-active {
& > .nav-item-toggle {
background: transparent url(../img/chevron.svg) no-repeat center / 50%;
Expand Down

0 comments on commit 7fb0647

Please sign in to comment.