diff --git a/mpl_sphinx_theme/static/css/style.css b/mpl_sphinx_theme/static/css/style.css index fe65596..f307818 100644 --- a/mpl_sphinx_theme/static/css/style.css +++ b/mpl_sphinx_theme/static/css/style.css @@ -32,3 +32,11 @@ html[data-theme="dark"] { #navbar-icon-links .nav-link:hover { color: var(--pst-color-primary); } + +/* reduce height of nav bar when items don't fit in one line + See https://github.com/pydata/pydata-sphinx-theme/pull/2117 + */ +.navbar-item { + height: unset !important; + margin: 0.25rem 0; +} \ No newline at end of file