Update MkMediaList.vue

This commit is contained in:
syuilo 2023-05-08 18:42:17 +09:00
parent 8a206f5320
commit db1c5a3b4f

View file

@ -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)
); );