fallback
This commit is contained in:
parent
697808c4e0
commit
741717dd49
|
@ -51,6 +51,7 @@ function calcAspectRatio() {
|
|||
|
||||
if (props.mediaList.length !== 1 || !(img.properties.width && img.properties.height)) {
|
||||
gallery.value.style.aspectRatio = '';
|
||||
gallery.value.style.minHeight = '64px';
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue