mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -19,7 +19,7 @@ update_settings()
|
|||||||
|
|
||||||
|
|
||||||
def apply_font_size():
|
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():
|
def apply_colors():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user