Fixes to codeblock (pre
)
- Set a value for top and bottom margins. - Fix the line height being too large.
This commit is contained in:
parent
f50f2b37d3
commit
7291d5ef22
1 changed files with 3 additions and 1 deletions
|
@ -98,6 +98,8 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -106,9 +108,9 @@ pre {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-family: var(--font--mono);
|
font-family: var(--font--mono);
|
||||||
|
line-height: initial;
|
||||||
code {
|
code {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: normal;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
Loading…
Reference in a new issue