Make image fallback work for images with big/small aspect ratios. Fix #5472 (#5474)

This commit is contained in:
Iman Syed 2019-08-01 11:46:34 +01:00 committed by Thibaud Colas
parent 29741f57af
commit d3f720995a
4 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,7 @@ Changelog
* Fix: Added line breaks to long filenames on multiple image / document uploader (Kevin Howbrook)
* Fix: Added https support for Scribd oEmbed provider (Rodrigo)
* Fix: Changed StreamField group labels color so labels are visible (Catherine Farman)
* Fix: Prevented images with a very wide aspect ratio from being displayed distorted in the rich text editor (Iman Syed)
2.6 (01.08.2019)

View file

@ -384,6 +384,7 @@ Contributors
* William Blackie
* Andrew Miller
* Rodrigo
* Iman Syed
Translators
===========

View file

@ -25,7 +25,8 @@
@mixin invalid-image-fallback {
min-width: 256px;
min-height: 100px;
min-height: 50px;
object-fit: contain;
background-color: $color-grey-1;
}

View file

@ -27,6 +27,7 @@ Bug fixes
* Added line breaks to long filenames on multiple image / document uploader (Kevin Howbrook)
* Added https support for Scribd oEmbed provider (Rodrigo)
* Changed StreamField group label color so labels are visible (Catherine Farman)
* Prevented images with a very wide aspect ratio from being displayed distorted in the rich text editor (Iman Syed)
Upgrade considerations