Skip to content

Commit 9641d94

Browse files
authored
Merge pull request #92 from seanpue/fix_rtd_spacing
Fix sphinx_rtd_theme spacing
2 parents 0f54a02 + 9e8b6e9 commit 9641d94

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jupyter_sphinx/css/jupyter-sphinx.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,10 @@ div.jupyter_container * {
105105
/* combine sequential jupyter cells,
106106
by moving sequential ones up higher on y-axis */
107107
div.jupyter_container + div.jupyter_container {
108-
margin: -.5em 0 .4em 0;
108+
margin: -.5em 0 .4em 0;
109+
}
110+
111+
/* Fix for sphinx_rtd_theme spacing after jupyter_container #91 */
112+
.rst-content .jupyter_container {
113+
margin: 0 0 24px 0;
109114
}

0 commit comments

Comments
 (0)