Skip to content

Commit c0389ab

Browse files
committed
Remove old wrapping css
Browsers this old are already hilariously broken, so we don't need these fallbacks.
1 parent 6fbed87 commit c0389ab

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/theme/book.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,11 +1367,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
13671367
pre,
13681368
code {
13691369
page-break-inside: avoid;
1370-
white-space: pre-wrap /* CSS 3 */;
1371-
white-space: -moz-pre-wrap /* Mozilla, since 1999 */;
1372-
white-space: -pre-wrap /* Opera 4-6 */;
1373-
white-space: -o-pre-wrap /* Opera 7 */;
1374-
word-wrap: break-word /* Internet Explorer 5.5+ */;
1370+
white-space: pre-wrap;
13751371
}
13761372
.fa {
13771373
display: none !important;

src/theme/stylus/print.styl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@
4747

4848
pre, code {
4949
page-break-inside: avoid
50-
white-space: pre-wrap /* CSS 3 */
51-
white-space: -moz-pre-wrap /* Mozilla, since 1999 */
52-
white-space: -pre-wrap /* Opera 4-6 */
53-
white-space: -o-pre-wrap /* Opera 7 */
54-
word-wrap: break-word /* Internet Explorer 5.5+ */
50+
white-space: pre-wrap
5551
}
5652

5753
.fa {

0 commit comments

Comments
 (0)