Skip to content

Commit

Permalink
Backport PR gammapy#5582: Change css and conf to allow for smaller sc…
Browse files Browse the repository at this point in the history
…reens
  • Loading branch information
registerrier authored and meeseeksmachine committed Nov 21, 2024
1 parent 25b485a commit 6087a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ p {
}

.bd-sidebar, .bd-toc {
position: sticky;
position: relative;
}

/* pre */
Expand Down Expand Up @@ -434,3 +434,4 @@ a.dropdown-item {
padding: .5em;
background: var(--gammapy-secondary);
}

4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def setup(app):
htmlhelp_basename = f"{project}doc"

html_theme_options = {
# toc options
"collapse_navigation": False,
"header_links_before_dropdown": 6,
"collapse_navigation": True,
"navigation_depth": 2,
"show_prev_next": False,
# links in menu
Expand Down

0 comments on commit 6087a4e

Please sign in to comment.