mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-02-17 04:21:48 +01:00
fallback
This commit is contained in:
parent
697808c4e0
commit
741717dd49
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue