81416b6024
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. |
||
---|---|---|
.. | ||
controllers | ||
controls | ||
models | ||
util | ||
views | ||
.gitignore | ||
api.js | ||
config.js | ||
events.js | ||
main.js | ||
pools.js | ||
router.js | ||
tags.js | ||
templates.js |