Skip to content

Commit 748e4fa

Browse files
committed
Fix RTD theme
1 parent dffccfb commit 748e4fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/_static/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ a:visited,
249249
/* RTD versions box colors */
250250
/* Also make entire sidebar scrollable but add empty space to the bottom
251251
* of the colling region, rather than truncating the scrollable space */
252-
nav.wy-nav-side {
253-
padding-bottom: 0em !important;
252+
nav.wy-nav-side .ethical-rtd {
253+
margin-bottom: 3em !important; /* padding below ad or below sidebar */
254254
}
255-
.wy-menu-vertical {
256-
margin-bottom: 3.5em !important;
255+
nav.wy-nav-side {
256+
padding-bottom: 0em !important; /* entire sidebar is always scrollable */
257257
}
258258
.rst-versions .rst-current-version {
259259
padding: 0.66em; /* match padding for list items */

0 commit comments

Comments
 (0)