Skip to content

Commit

Permalink
Fix navigation css
Browse files Browse the repository at this point in the history
Resolves #2457
  • Loading branch information
Gerrit0 committed Dec 17, 2023
1 parent 68edb2e commit f3acf82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

### Bug Fixes

- Navigation triangle markers should no longer display on a separate line with some font settings, #2457.

## v0.25.4 (2023-11-26)

### Features
Expand Down
12 changes: 5 additions & 7 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -714,12 +714,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
}
.tsd-navigation > a,
.tsd-navigation .tsd-accordion-summary {
width: calc(100% - 0.5rem);
width: calc(100% - 0.25rem);
display: flex;
align-items: center;
}
.tsd-navigation a,
.tsd-navigation summary > span,
.tsd-page-navigation a {
display: inline-flex;
display: flex;
width: calc(100% - 0.25rem);
align-items: center;
padding: 0.25rem;
color: var(--color-text);
Expand Down Expand Up @@ -759,11 +762,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
margin-left: -1.5rem;
}

.tsd-nested-navigation > li > a,
.tsd-nested-navigation > li > span {
width: calc(100% - 1.75rem - 0.5rem);
}

.tsd-page-navigation ul {
padding-left: 1.75rem;
}
Expand Down

0 comments on commit f3acf82

Please sign in to comment.