Try to get code blocks to flicker less

This commit is contained in:
Adam Wathan 2017-10-30 17:12:33 -04:00
parent 906f09d66c
commit a24e4ad7e5
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;