Merge branch 'next-video-letterbox' into 'next'

Next: Fix video letterboxing

See merge request soapbox-pub/soapbox-fe!1223
This commit is contained in:
Alex Gleason 2022-04-14 21:09:12 +00:00
commit 0aa74ba882
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -103,6 +103,7 @@
}
.media-gallery__preview {
@apply bg-gray-200 dark:bg-slate-900;
width: 100%;
height: 100%;
object-fit: cover;
@ -110,7 +111,6 @@
top: 0;
left: 0;
z-index: 0;
background: var(--background-color);
.still-image--play-on-hover::before {
content: 'GIF';

View file

@ -119,6 +119,7 @@
video {
object-fit: contain;
position: relative;
max-height: 100%;
}
}