From 0cf2229c73a9565bdb18783b6a1211c471dd1f9c Mon Sep 17 00:00:00 2001 From: Timur Sultanaev Date: Sat, 5 Jul 2025 20:48:15 +0200 Subject: [PATCH] Add same font-family on synopsis as on code This makes sure that spaces inserted between 'code' elements have the same size as text inside of 'code' elements, otherwise spaces look tiny and words in commands such as 'git merge' visually look almost touching each other. --- assets/sass/typography.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss index 74674aa594..762786dc06 100644 --- a/assets/sass/typography.scss +++ b/assets/sass/typography.scss @@ -265,6 +265,7 @@ code { p { .synopsis { @include border-radius(3px); + font-family: $fixed-width-font-family; border: solid 1px var(--pre-border); } }