Skip to content

Commit ae01588

Browse files
authored
Merge pull request #223 from Automattic/fix/space-around-code
Add space around code
2 parents accca1c + 939887c commit ae01588

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

syntaxhighlighter3/styles/shCore.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
overflow: auto !important;
6666
overflow-y: hidden !important;
6767
font-size: 1em !important;
68+
padding: 0.5em 1em !important;
6869
}
6970
.syntaxhighlighter code {
7071
display: inline !important;
@@ -87,7 +88,7 @@
8788
}
8889
.syntaxhighlighter table caption {
8990
text-align: left !important;
90-
padding: .5em 0 0.5em 1em !important;
91+
padding: 0 0 0.5em 0 !important;
9192
}
9293
.syntaxhighlighter table td.code {
9394
width: 100% !important;
@@ -118,10 +119,11 @@
118119
}
119120
.syntaxhighlighter table td.gutter .line {
120121
text-align: right !important;
121-
padding: 0 0.5em 0 1em !important;
122+
padding: 0 0.5em 0 0 !important;
123+
margin-right: 1em !important;
122124
}
123125
.syntaxhighlighter table td.code .line {
124-
padding: 0 1em !important;
126+
padding: 0 !important;
125127
}
126128
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
127129
padding-left: 0em !important;

0 commit comments

Comments
 (0)