Fix mp4 overflow issue

Fixes #1416
This commit is contained in:
Zed 2026-06-21 15:49:34 +02:00
commit 0344b99b69
5 changed files with 17 additions and 10 deletions

View file

@ -90,7 +90,10 @@
max-height: unset;
}
.media-gif video {
.media-gif video,
.media-gif img {
width: 100%;
height: 100%;
max-height: 530px;
background-color: #101010;
}

View file

@ -100,7 +100,8 @@
justify-content: center;
background-color: var(--bg_color);
video {
video,
img {
height: unset;
width: unset;
max-height: 100%;