Skip to content

Commit 7d986e0

Browse files
committed
Fix line alignment for bootstrap themes
Remove styling for the code container that Bootstrap accidentally adds.
1 parent 971daf5 commit 7d986e0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

syntaxhighlighter3/styles/shCore.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @version
99
* 3.0.83 (July 02 2010)
10-
*
10+
*
1111
* @copyright
1212
* Copyright (C) 2004-2010 Alex Gorbatchev.
1313
*
@@ -95,6 +95,11 @@
9595
.syntaxhighlighter table td.code .container {
9696
position: relative !important;
9797
}
98+
.syntaxhighlighter table td.code .container:after,
99+
.syntaxhighlighter table td.code .container:before {
100+
display: block !important;
101+
content: "";
102+
}
98103
.syntaxhighlighter table td.code .container textarea {
99104
box-sizing: border-box !important;
100105
position: absolute !important;

0 commit comments

Comments
 (0)