Ensure same monospace font throughout whole scmm

This commit is contained in:
Florian Scholdei
2020-04-03 11:11:59 +02:00
parent 5e03611e1b
commit 7d4135d0ec

View File

@@ -44,9 +44,11 @@ const DiffView = styled(Diff)`
> .diff-gutter:empty:hover::after { > .diff-gutter:empty:hover::after {
font-size: 0.7rem; font-size: 0.7rem;
} }
/* smaller font size for code */ /* smaller font size for code and
ensure same monospace font throughout whole scmm */
& .diff-line { & .diff-line {
font-size: 0.75rem; font-size: 0.75rem;
font-family: "Courier New", Monaco, Menlo, "Ubuntu Mono", "source-code-pro", monospace;
} }
/* comment padding for sidebyside view */ /* comment padding for sidebyside view */
&.split .diff-widget-content .is-indented-line { &.split .diff-widget-content .is-indented-line {