422px上限

This commit is contained in:
tamaina 2023-04-06 04:47:20 +00:00
parent 13c888531b
commit d5653ba2c2

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: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh), 130px); max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 422px), 130px);
} }
&.n2 { &.n2 {