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

Improve the reader with more options #157

Open
kurim opened this issue Apr 26, 2020 · 3 comments
Open

Improve the reader with more options #157

kurim opened this issue Apr 26, 2020 · 3 comments

Comments

@kurim
Copy link
Contributor

kurim commented Apr 26, 2020

How about a resizing option to fit screen

Sometimes mangas are to tiny sometimes they are to big so you need to zoom or to scroll.
So how about to change the height based on device max-height?

@donotos
Copy link

donotos commented Apr 26, 2020

true, maybe event adding buttons with fit-width, fit-height and original size

@pierobot pierobot changed the title Fit to screen Improve the reader with more options May 31, 2020
@kurim
Copy link
Contributor Author

kurim commented Dec 3, 2020

I find a solution for this.

add: style="object-fit: scale-down;" and change h-auto to h-100.

<img id="reader-image" style="object-fit: scale-down;" class="mw-100 h-100 d-block mx-auto" src="{{ URL::action('ReaderController@image', [$manga, $archive, $page]) }}">

Result:

image height is too small:
Screenshot 2020-12-03 211824

image heigt is too big:
Screenshot 2020-12-03 211836

@pierobot
Copy link
Owner

Will revamp the reader once I fix #220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants