From c526df769db0fd6a47bd7d79a5429a4344877c52 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 8 May 2023 13:59:42 +0000 Subject: [PATCH] ? --- packages/frontend/src/components/MkMediaList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 11c0cb66b0..80c05cb3ad 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) + 50cqh, min(360px, 50vh) );