szurubooru/client/js
Eva 81416b6024 client/views: apply correct margins, fix android sizing
Images in fit mode 'width' and 'both' would extend to the very edge
of the screen on desktop. The right side margin was previously only
addressed on mobile from god knows where... (the lack of a scrollbar?)
Instead of trying to guess the post content width, we can set
overflow-x: hidden on the container which lets us get the real value.
Viewport height on Android was wrong when the address bar was shown,
causing unnecessary and jumpy image resizing. Use iOS hack.
All this sizing bs should really be done by toggling classes and using
regular css min/max width. For "Upscale small posts" option as well.
2024-03-21 20:36:58 +01:00
..
controllers client: workaround for #545, but not a fix 2023-01-24 22:19:24 +01:00
controls client/views: apply correct margins, fix android sizing 2024-03-21 20:36:58 +01:00
models client/posts: provide link for danbooru image search 2021-01-08 11:03:38 -05:00
util client/js/markdown: fix processing of inline markdown 2022-02-16 09:09:21 -05:00
views client/views: apply correct margins, fix android sizing 2024-03-21 20:36:58 +01:00
.gitignore client/build: true template precompiling 2016-05-21 10:04:23 +02:00
api.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
config.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
events.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
main.js client+server: fixed style errors 2021-09-13 13:25:37 -04:00
pools.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
router.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
tags.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
templates.js client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00