mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Adding 1em spacing above and below tables in rendered html.
This commit is contained in:
parent
8d9f2e367a
commit
4b8ccb37e1
@ -75,6 +75,14 @@
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
p + table {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
table + p {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
|
2
IPython/html/static/style/ipython.min.css
vendored
2
IPython/html/static/style/ipython.min.css
vendored
@ -176,6 +176,8 @@ div.quickhelp{float:left;width:50%;}
|
||||
.rendered_html th{font-weight:bold;}
|
||||
.rendered_html p{text-align:justify;}
|
||||
.rendered_html p+p{margin-top:1em;}
|
||||
.rendered_html p+table{margin-top:1em;}
|
||||
.rendered_html table+p{margin-top:1em;}
|
||||
.rendered_html img{display:block;margin-left:auto;margin-right:auto;}
|
||||
.rendered_html .MathJax_Display{text-align:center !important;}
|
||||
span#save_widget{padding:0px 5px;margin-top:12px;}
|
||||
|
2
IPython/html/static/style/style.min.css
vendored
2
IPython/html/static/style/style.min.css
vendored
@ -1557,6 +1557,8 @@ div.quickhelp{float:left;width:50%;}
|
||||
.rendered_html th{font-weight:bold;}
|
||||
.rendered_html p{text-align:justify;}
|
||||
.rendered_html p+p{margin-top:1em;}
|
||||
.rendered_html p+table{margin-top:1em;}
|
||||
.rendered_html table+p{margin-top:1em;}
|
||||
.rendered_html img{display:block;margin-left:auto;margin-right:auto;}
|
||||
.rendered_html .MathJax_Display{text-align:center !important;}
|
||||
span#save_widget{padding:0px 5px;margin-top:12px;}
|
||||
|
Loading…
Reference in New Issue
Block a user