From c11a7cc225f221718e8eb347e9ca8a60cd7507d4 Mon Sep 17 00:00:00 2001 From: Mayank <9084735+mayank99@users.noreply.github.com> Date: Fri, 6 Jan 2023 04:40:11 -0500 Subject: [PATCH] fix: make code font-size smaller in displayed markdown (#817) Co-authored-by: Mayank --- styles/global.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/global.css b/styles/global.css index 6f28e28b..d91036d6 100644 --- a/styles/global.css +++ b/styles/global.css @@ -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 {