Skip to content

Commit

Permalink
Omit the nav bar title
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Jul 23, 2024
1 parent 49ea4a7 commit 5a17aa7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@
background-color: var(--md-code-bg-color);
}

/* Omits the nav title "uv" unless on a small screen, in which case
the nav title is needed for backwards navigation in the collapsible
variant.
See https://github.com/astral-sh/uv/issues/5130 */
.md-nav__title {
display: none;
}
@media screen and (max-width: 1219px) {
.md-nav__title {
display: flex ;
}
}

/* Reducing spacing between nav items to fit more content */
.md-nav__link {
margin-top: 0.3em;
Expand Down

0 comments on commit 5a17aa7

Please sign in to comment.