chore: add scrollbar styles; fix units + alignment
This commit is contained in:
parent
9c5bdf8ef8
commit
ab1182725f
7 changed files with 45 additions and 13 deletions
|
@ -20,7 +20,7 @@ pre[class*="language-"] {
|
|||
padding: 1rem;
|
||||
margin: 1.25rem 0;
|
||||
overflow: auto;
|
||||
border-radius: var(--sizing-xs);
|
||||
border-radius: var(--rounded);
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
|
@ -31,7 +31,7 @@ pre[class*="language-"] {
|
|||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1rem;
|
||||
border-radius: var(--sizing-xs);
|
||||
border-radius: var(--rounded);
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue