This commit is contained in:
tamaina 2023-05-08 13:43:23 +00:00
parent f618d90a2f
commit fd1e4baf0e
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
min-height: 64px; min-height: 64px;
max-height: clamp( max-height: clamp(
64px, 64px,
calc(100svh * 0.5), calc(var(--containerHeight, 100svh) * 0.5), // but --containerHeight can broken (too big)
min(360px, 50vh) min(360px, 50vh)
); );