Remove padding from code blocks that was causing weird indentation
This commit is contained in:
parent
590b2d5874
commit
f7e235a1fb
|
@ -123,11 +123,11 @@ pre {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
border: 1px solid #777;
|
border: 1px solid #777;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
code, pre {
|
code, pre {
|
||||||
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 10px;
|
|
||||||
}
|
}
|
||||||
img, figure, video, iframe, div {
|
img, figure, video, iframe, div {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -123,6 +123,7 @@ pre {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
border: 1px solid var(--box-color);
|
border: 1px solid var(--box-color);
|
||||||
|
padding: 5px;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
-webkit-hyphens: none;
|
-webkit-hyphens: none;
|
||||||
|
@ -130,7 +131,6 @@ pre {
|
||||||
code, pre {
|
code, pre {
|
||||||
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 5px;
|
|
||||||
}
|
}
|
||||||
img, figure, video, iframe, div {
|
img, figure, video, iframe, div {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue