fix(client): webkitでMkMediaListが崩れるのを修正

This commit is contained in:
syuilo 2023-02-09 20:12:36 +09:00
parent f9d1bc340e
commit 63dc66769f
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
display: grid; display: grid;
grid-gap: 8px; grid-gap: 8px;
// for webkit
height: 100%;
&.n1 { &.n1 {
aspect-ratio: 16/9; aspect-ratio: 16/9;
grid-template-rows: 1fr; grid-template-rows: 1fr;