min-height: 130px

This commit is contained in:
tamaina 2023-04-06 13:27:12 +00:00
parent 238c71c61f
commit b75a4cc898

View file

@ -159,6 +159,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
&.n1 { &.n1 {
grid-template-rows: 1fr; grid-template-rows: 1fr;
min-height: 130px;
max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 334px), 130px); max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 334px), 130px);
} }