Update MkMediaList.vue
This commit is contained in:
parent
8a206f5320
commit
db1c5a3b4f
|
@ -203,7 +203,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
|
||||||
min-height: 64px;
|
min-height: 64px;
|
||||||
max-height: clamp(
|
max-height: clamp(
|
||||||
64px,
|
64px,
|
||||||
calc(var(--containerHeight, 100svh) * 0.5), // but --containerHeight can broken (too big)
|
calc(100cqh * 0.5),
|
||||||
min(334px, 50vh)
|
min(334px, 50vh)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue