Skip to content

Commit

Permalink
Add horizontal scrollbar to TOC when required (#832)
Browse files Browse the repository at this point in the history
Co-authored-by: sethg <[email protected]>
  • Loading branch information
github-actions[bot] and geographika authored Aug 17, 2023
1 parent 96f538c commit 2b75b26
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 2b75b26

Please sign in to comment.