mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-23 20:43:38 +00:00
readable
This commit is contained in:
@@ -194,7 +194,11 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
|
||||
|
||||
&.n1expand {
|
||||
min-height: 64px;
|
||||
max-height: clamp(64px, calc(var(--containerHeight, 100svh) * 0.5), min(334px, 50vh));
|
||||
max-height: clamp(
|
||||
64px,
|
||||
calc(var(--containerHeight, 100svh) * 0.5), // but --containerHeight can broken (too big)
|
||||
min(334px, 50vh)
|
||||
);
|
||||
}
|
||||
|
||||
&.n116_9 {
|
||||
|
||||
Reference in New Issue
Block a user