Skip to content

Commit

Permalink
Merge pull request #222 from Automattic/fix/line-alignment
Browse files Browse the repository at this point in the history
Fix line alignment for bootstrap themes
  • Loading branch information
merkushin authored Nov 19, 2021
2 parents ebdd9b8 + c2ee481 commit accca1c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion syntaxhighlighter3/styles/shCore.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @version
* 3.0.83 (July 02 2010)
*
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
Expand Down Expand Up @@ -95,6 +95,14 @@
.syntaxhighlighter table td.code .container {
position: relative !important;
}
/**
* Resolve conflict with Bootstrap CSS-based themes.
*/
.syntaxhighlighter table td.code .container:after,
.syntaxhighlighter table td.code .container:before {
display: block !important;
content: "";
}
.syntaxhighlighter table td.code .container textarea {
box-sizing: border-box !important;
position: absolute !important;
Expand Down

0 comments on commit accca1c

Please sign in to comment.