Skip to content

Fix attachment cover/contain again

Shpuld Shpludson requested to merge fix/attachment-sizing-cover-fix into develop

The fix for chrome's stretched images broke wide images when using the option to use object-fit: cover, they would not fill the full height of the area. Now all attachment images look correct according to your settings (and videos when using the modal to play them).

Using 'cover' (this was broken before the previous fix)

image

Using 'contain'

image

Using 'cover' (this is currently broken in develop)

image

Using 'contain'

image

Merge request reports

Loading