mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-03-16 09:55:16 +09:00
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)) {
|
if (props.mediaList.length !== 1 || !(img.properties.width && img.properties.height)) {
|
||||||
gallery.value.style.aspectRatio = '';
|
gallery.value.style.aspectRatio = '';
|
||||||
|
gallery.value.style.minHeight = '64px';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user