document-css: reset overflow-wrap on code blocks

fixes #7423
This commit is contained in:
Mauro Bieg 2021-07-02 09:27:15 +02:00 committed by John MacFarlane
parent 95541294d3
commit de4da56079
5 changed files with 10 additions and 5 deletions

View file

@ -14,7 +14,7 @@ body {
padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@ -93,6 +93,7 @@ $endif$
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;

View file

@ -21,7 +21,7 @@
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@ -92,6 +92,7 @@
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;

View file

@ -21,7 +21,7 @@
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@ -92,6 +92,7 @@
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;

View file

@ -24,7 +24,7 @@
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@ -95,6 +95,7 @@
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;

View file

@ -24,7 +24,7 @@
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@ -95,6 +95,7 @@
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;