Try to get code blocks to flicker less
This commit is contained in:
parent
906f09d66c
commit
a24e4ad7e5
2 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@
|
|||
@apply .text-slate-dark;
|
||||
}
|
||||
|
||||
> :not(pre) > code[class*="language-"], > pre[class*="language-"], pre[class*="language-"]& {
|
||||
> :not(pre):not(h1):not(h2):not(h3):not(h4) > code, > pre, pre& {
|
||||
@apply .bg-smoke-lighter;
|
||||
@apply .text-sm;
|
||||
@apply .leading-normal;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
|||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
pre {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue