Skip to content

Commit

Permalink
Fix navbar alignment and sidebar scrollbar (mne-tools#12571)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Apr 30, 2024
1 parent dddbe78 commit e3a40fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,11 @@ div.sphx-glr-animation video {
max-width: 100%;
height: auto;
}

/* fix sidebar scrollbars */
.sidebar-primary-items__end {
margin-bottom: 0 !important;
margin-top: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
"version-switcher",
"navbar-icon-links",
],
"navbar_align": "left",
"navbar_persistent": ["search-button"],
"footer_start": ["copyright"],
"secondary_sidebar_items": ["page-toc", "edit-this-page"],
Expand Down

0 comments on commit e3a40fc

Please sign in to comment.