From 78ed0ded7ad476cfeaf8b913355ede1d2a642ca0 Mon Sep 17 00:00:00 2001 From: Erin Schnabel Date: Thu, 7 Dec 2023 12:44:17 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20line=20shifting=20w/=20all?= =?UTF-8?q?=20whitespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/styles.scss b/src/styles.scss index 7491aa6..eb8ae76 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,14 +1,12 @@ @mixin whitespace { white-space: pre; font-family: var(--font-monospace); - line-height: inherit; + line-height: 1; color: var(--show-whitespace-color); } @mixin line-ending { - font-weight: var(--font-extralight); - font-family: var(--font-monospace); - line-height: inherit; + line-height: 1; width: 1.2ch; padding-left: 0.2ch; vertical-align: middle;