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 {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding: 1rem;
|
||||
border-radius: 5px;
|
||||
display: block;
|
||||
|
@ -106,9 +108,9 @@ pre {
|
|||
page-break-inside: avoid;
|
||||
word-wrap: break-word;
|
||||
font-family: var(--font--mono);
|
||||
line-height: initial;
|
||||
code {
|
||||
font-size: 1rem;
|
||||
line-height: normal;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
background-color: transparent;
|
||||
|
|
Loading…
Reference in a new issue