mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 15:05:05 +01:00
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:
parent
380ccbc2d4
commit
ad384c7fd8
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def update_settings(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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue