Skip to content

Commit f1e515b

Browse files
committed
fix alignment of highlighted lines on alabaster
1 parent dea08f4 commit f1e515b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jupyter_sphinx/css/jupyter-sphinx.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ div.jupyter_container {
6262
padding: 0;
6363
margin: 0;
6464
}
65+
66+
/* Prevent alabaster breaking highlight alignment */
67+
div.jupyter_container .hll {
68+
padding: 0;
69+
margin: 0;
70+
}
71+
6572
/* overrides for sphinx_rtd_theme */
6673
.rst-content .jupyter_container div[class^='highlight'],
6774
.document .jupyter_container div[class^='highlight'],

0 commit comments

Comments
 (0)