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

Co-authored-by: Mayank <mayank99@users.noreply.github.com>
This commit is contained in:
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

View file

@ -132,14 +132,14 @@ em-emoji-picker {
--at-apply: mb-1;
}
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 {
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
}
.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;
.shiki {