This commit is contained in:
tamaina 2023-04-02 15:28:57 +00:00
parent 99135b3f57
commit 2f39c089a3

View file

@ -159,7 +159,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
&.n1 { &.n1 {
grid-template-rows: 1fr; 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 { &.n2 {