diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index d28c78fe5c..09c156a5cc 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -203,7 +203,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => { min-height: 64px; max-height: clamp( 64px, - calc(var(--containerHeight, 100svh) * 0.5), // but --containerHeight can broken (too big) + calc(100cqh * 0.5), min(334px, 50vh) );