Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text does not scale on firefox #36

Closed
nowakf opened this issue Aug 2, 2021 · 3 comments
Closed

Text does not scale on firefox #36

nowakf opened this issue Aug 2, 2021 · 3 comments
Assignees

Comments

@nowakf
Copy link

nowakf commented Aug 2, 2021

Book text doesn't scale in Firefox 90.0.2, also chromium. It makes it pretty hard to read if you have bad eyesight.

@ekangmonyet
Copy link
Contributor

I would advocate for Firefox Reader View. If the reflow is accurate and stable, it can also be released as epub format.

@fennecJ
Copy link
Collaborator

fennecJ commented Aug 4, 2021

I think the reason why text can't be scale is because in html.cfg, line 13,

font-size: 1vw;

When an element using vw as size unit, its size will be depended on the
width of the browser window size and won't be effected by scaling ratio
of browser. I have tried to use em or px instead, however when scaling
the text, the code blocks' layout will be malformed and I currently can't
find a way to fix that.

@jserv
Copy link
Contributor

jserv commented Aug 5, 2021

Close via commit a411938

@jserv jserv closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants