mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-24 15:16:30 +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)) {
|
||||
gallery.value.style.aspectRatio = '';
|
||||
gallery.value.style.minHeight = '64px';
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user