From cc164857b917a534249eafc243066f8c85f6ff3b Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Wed, 28 Jul 2021 09:53:28 +0700 Subject: [PATCH] Define inlined code font-size with em unit --- scss/content/_code.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/content/_code.scss b/scss/content/_code.scss index fac01ae3..19c24305 100644 --- a/scss/content/_code.scss +++ b/scss/content/_code.scss @@ -9,13 +9,13 @@ // –––––––––––––––––––– // 1. Correct the inheritance and scaling of font size in all browsers -// 2. Correct the odd `em` font sizing in all browsers +// 2. Correct the font sizing in all browsers pre, code, kbd, samp { font-family: var(--font-family); // 1 - font-size: .875rem; // 2 + font-size: .875em; // 2 } // Prevent overflow of the container in all browsers (opinionated)