Skip to content

Commit

Permalink
Add horizontal scrollbar to TOC when required
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Aug 17, 2023
1 parent 1b653a6 commit 3b53a91
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Added for MapScript API docs
*/

table.align-default {
margin-left: 0px;
}

div.sphinxsidebarwrapper {
overflow-y: scroll;
}
7 changes: 0 additions & 7 deletions _static/sphinx.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,3 @@ div.service-provider {
span.pre {
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono';
}

/*
Added for MapScript API docs
*/
table.align-default {
margin-left: 0px;
}
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def __getattr__(cls, name):
html_last_updated_fmt = '%Y-%m-%d'

html_css_files = [
'custom.css',
'ribbon.css'
]

Expand Down

0 comments on commit 3b53a91

Please sign in to comment.