Only set the users font size on <html> not <body>

There are apparently books out their that rely on being able to control
the font size of <body>.
This commit is contained in:
Kovid Goyal 2019-09-16 08:43:54 +05:30
parent 380ccbc2d4
commit ad384c7fd8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -19,7 +19,7 @@ update_settings()
def apply_font_size():
document.documentElement.style.fontSize = document.body.style.fontSize = '{}px'.format(opts.base_font_size)
document.documentElement.style.fontSize = '{}px'.format(opts.base_font_size)
def apply_colors():