Skip to content

Commit da2cd6c

Browse files
authored
Merge pull request #104 from timhoffm/navbar-wrap-height
Reduce height of nav bar when items don't fit in one line
2 parents 85a4585 + c99f9fc commit da2cd6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mpl_sphinx_theme/static/css/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ html[data-theme="dark"] {
3232
#navbar-icon-links .nav-link:hover {
3333
color: var(--pst-color-primary);
3434
}
35+
36+
/* reduce height of nav bar when items don't fit in one line
37+
See https://github.com/pydata/pydata-sphinx-theme/pull/2117
38+
*/
39+
.navbar-item {
40+
height: unset !important;
41+
margin: 0.25rem 0;
42+
}

0 commit comments

Comments
 (0)