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

EPUB appearance: Add 'Use original font' and 'Page width' options, increase zoom limit #132

Closed

Conversation

AbeJellinek
Copy link
Member

@AbeJellinek AbeJellinek commented Jul 29, 2024

Looks like this:

image

If we had some "narrow"/"normal"/"full" icons, we could use them for the page width slider, but I don't think that's essential, and a textual label felt like overkill.

Addresses zotero/zotero#4456 and zotero/zotero#4457

@AbeJellinek AbeJellinek requested a review from yexingsha July 29, 2024 17:27
@yexingsha
Copy link

When I try to build this it keeps throwing npm error, but from the screenshot it looks fine. I think putting icons here while all other sliders use text labels might be weird. I'm not sure how page width is calculated, but what if we just display a percentage, so that the widest is 100% and the narrowest is e.g. 50%?

@AbeJellinek
Copy link
Member Author

Full is just unlimited, so however wide the window is, that's how wide the page will be (minus text margins).

@AbeJellinek
Copy link
Member Author

But percentages seem fine - doesn't really have to be exact, but it gets the point across.

@AbeJellinek
Copy link
Member Author

@dstillman: OK to merge? I can add the strings in zotero/zotero before updating submodules.

Fixes pagination issue in documents with saved appearance states.
dstillman pushed a commit that referenced this pull request Jul 31, 2024
Fixes pagination issue in documents with saved appearance states.
@dstillman
Copy link
Member

Merged

@dstillman dstillman closed this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants