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