mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure fractional sizes work for the SQL font.
This commit is contained in:
parent
86858b18f6
commit
33b4817008
@ -576,7 +576,7 @@ def browser_css():
|
||||
sql_font_size = round(float(sql_font_size_pref.get()), 2)
|
||||
|
||||
if sql_font_size != 0:
|
||||
snippets.append('.CodeMirror { font-size: %dem; }' % sql_font_size)
|
||||
snippets.append('.CodeMirror { font-size: %sem; }' % str(sql_font_size))
|
||||
|
||||
for submodule in blueprint.submodules:
|
||||
snippets.extend(submodule.csssnippets)
|
||||
|
Loading…
Reference in New Issue
Block a user