mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 19:20:46 +01:00
parent
9cb4fbfd96
commit
c1d94a45c5
1 changed files with 1 additions and 1 deletions
|
@ -190,10 +190,10 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
|
||||||
|
|
||||||
&.n1 {
|
&.n1 {
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
|
min-height: 64px;
|
||||||
max-height: 128px;
|
max-height: 128px;
|
||||||
|
|
||||||
&.n1expand {
|
&.n1expand {
|
||||||
min-height: 64px;
|
|
||||||
max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 334px), 64px);
|
max-height: max(min(calc(var(--containerHeight, 100svh) * 0.5), 50svh, 334px), 64px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue