Skip to content

Commit 0cf2229

Browse files
authored
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.
1 parent a6a37a3 commit 0cf2229

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/sass/typography.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ code {
265265
p {
266266
.synopsis {
267267
@include border-radius(3px);
268+
font-family: $fixed-width-font-family;
268269
border: solid 1px var(--pre-border);
269270
}
270271
}

0 commit comments

Comments
 (0)