Font size in Code Editors

I experienced the same issue recently, and also found the problem!

This is a copy of my post from the Pinegrow Slack Channel:

:information_source: An update for the issue I had with the “font-size” not changing for the “code-editor”!
I studied the Pinegrow source code a bit, found the problem and fixed it !!!

For these 3 files at line 3760 :

\lib\crsa\edit.theme.gray.css
\lib\crsa\edit.theme.high.contrast.css
\lib\crsa\edit.theme.light.css

.CodeMirror pre {
 font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
 line-height: 1.33;
 font-size: 12px;
}

Must be (without font-size declaration)

.CodeMirror pre {
 font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
 line-height: 1.33;
}

@matjaz Can you fix this in the Pinegrow source code, and remove that “font-size” declaration…?? :see_no_evil:

2 Likes