1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2023-05-08 13:59:42 +00:00
parent fd1e4baf0e
commit c526df769d

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(var(--containerHeight, 100svh) * 0.5), // but --containerHeight can broken (too big) 50cqh,
min(360px, 50vh) min(360px, 50vh)
); );