Skip to content

Commit 89db394

Browse files
committed
Added _static/css/custom.css file containing styling to fix margin issues introduced by sphinx-tabs
1 parent ca0a5a4 commit 89db394

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/source/_static/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.tab .wy-plain-list-disc:last-child,
2+
.rst-content .section ul:last-child,
3+
.rst-content .toctree-wrapper ul:last-child,
4+
article ul:last-child {
5+
margin-bottom: 24px;
6+
}

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,6 @@
154154
author, 'TensorFlowsetup', 'One line description of project.',
155155
'Miscellaneous'),
156156
]
157+
158+
def setup(app):
159+
app.add_stylesheet('css/custom.css') # may also be an URL

0 commit comments

Comments
 (0)