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 {