mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-24 03:02:56 +00:00
change font-size to be a range input with quick example
This commit is contained in:
@@ -87,7 +87,7 @@ const createSettingsExtensions = (settings)=>[
|
||||
...(settings.fontSize
|
||||
? [EditorView.theme({
|
||||
'&, .cm-content' : {
|
||||
fontSize : `${settings.fontSize}px`,
|
||||
fontSize : `${settings.fontSize || 1}em`,
|
||||
},
|
||||
})]
|
||||
: []),
|
||||
|
||||
Reference in New Issue
Block a user