fix: make code font-size smaller in displayed markdown (#817)

Co-authored-by: Mayank <mayank99@users.noreply.github.com>
zio/stable
Mayank 2023-01-06 04:40:11 -05:00 committed by GitHub
parent 573bf48eda
commit c11a7cc225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,14 +132,14 @@ em-emoji-picker {
--at-apply: mb-1; --at-apply: mb-1;
} }
code { code {
--at-apply: bg-code text-code px1 py0.5 rounded text-0.9em leading-0.8em; --at-apply: bg-code text-code px1 py0.5 rounded text-0.875em leading-0.8em;
} }
pre code { pre code {
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em; --at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
} }
.code-block { .code-block {
--at-apply: font-mono bg-code text-base p3 mt-2 rounded overflow-auto --at-apply: font-mono bg-code text-0.875em p3 mt-2 rounded overflow-auto
leading-1.6em; leading-1.6em;
.shiki { .shiki {