From 0560487e637ec15200fb6ed6d365765345a3ae5f Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 12 Apr 2023 14:16:57 +0000 Subject: [PATCH] Revert "Revert "fix"" This reverts commit c1d94a45c575cc843e061a0c55df1106bf033035. --- 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 bc6bc58272..1438023837 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -190,10 +190,10 @@ const previewable = (file: misskey.entities.DriveFile): boolean => { &.n1 { grid-template-rows: 1fr; - min-height: 64px; max-height: 128px; &.n1expand { + min-height: 64px; max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 334px), 64px); }