fix: preformatted text indents the first line strangely
This commit is contained in:
parent
edb34c9bc2
commit
7d607654db
@ -53,15 +53,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hljs {
|
.hljs {
|
||||||
overflow-x: auto;
|
overflow: auto;
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
background: #2b2b2b;
|
background: #2b2b2b;
|
||||||
color: #f8f8f2;
|
color: #f8f8f2;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
word-wrap: normal;
|
||||||
border-radius: 0.4rem;
|
border-radius: 0.4rem;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
pre > code {
|
||||||
|
display: block;
|
||||||
|
text-indent: 0;
|
||||||
|
white-space: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.hljs-emphasis {
|
.hljs-emphasis {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user