Revert "Revert "fix""

This reverts commit c1d94a45c5.
This commit is contained in:
tamaina 2023-04-12 14:16:57 +00:00
parent 22abfb2aac
commit 0560487e63
1 changed files with 1 additions and 1 deletions

View File

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