Skip to content

Commit

Permalink
Add overflow: scroll (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs authored Jan 4, 2024
1 parent 6c5bd40 commit 6528ccc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/web/assets/sty.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@

.fenicsnav {display:inline-block;font-size:20px;padding:0px 15px}

.sphinxsidebarwrapper {
overflow: scroll
}
4 changes: 4 additions & 0 deletions doc/web/make_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ def system(command):
template = template.replace("!!</p>", "!!")
template = template.replace("=\"/", "=\"https://fenicsproject.org/")
template = template.replace("(/assets", "(https://fenicsproject.org/assets")
template = template.replace(
"/assets/css/customsty.css\">",
"/assets/css/customsty.css\">\n"
" <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/sty.css\">")

intro, outro = template.split("!!CONTENT!!")

Expand Down

0 comments on commit 6528ccc

Please sign in to comment.