From 2f39c089a3965c78fd378f04e5c1f9874334f068 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 2 Apr 2023 15:28:57 +0000 Subject: [PATCH] fix --- 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 1e5307565e..6ba76d6a96 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -159,7 +159,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => { &.n1 { grid-template-rows: 1fr; - max-height: min(max(calc(var(--containerHeight, 100svh) * 0.5), 130px), 50svh); + max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh), 130px); } &.n2 {