discourse/plugins/poll
Penar Musaraj 33cb1b7cf1
FIX: Ensure images in polls don't cause abrupt scrolling (#13272)
In some very rare cases, poll options can end up with images that have
no dimensions, in which case, navigating to replies in that post stream
might result in unexpected scrolling (as the browser loads the images
and adjusts its layout).

This ensures that if width/height attributes are missing from an image,
the image is forced to display within a 200 by 200 pixels space.

Co-authored-by: David Taylor <david@taylorhq.com>
2021-06-03 22:09:59 -04:00
..
app DEV: Remove with_deleted workarounds for old Rails version (#11550) 2020-12-22 10:38:59 +11:00
assets FIX: Ensure images in polls don't cause abrupt scrolling (#13272) 2021-06-03 22:09:59 -04:00
config Update translations (#13136) 2021-05-25 15:29:11 +02:00
db FEATURE: Add the title attribute to polls (#10759) 2020-10-02 09:21:24 +02:00
jobs/regular DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
lib FEATURE: Add the title attribute to polls (#10759) 2020-10-02 09:21:24 +02:00
spec FIX: no error when double save post with poll (#13111) 2021-05-27 08:39:51 +10:00
test/javascripts UX: Improve poll builder UI (#12549) 2021-04-12 19:48:01 +03:00
plugin.rb FIX: no error when double save post with poll (#13111) 2021-05-27 08:39:51 +10:00