commit: 5118eee19a5dba5245b9394ac222cf1ff7e09ea0
parent 4ba8d95a10fdf22a7cefc56ea0515b7c30ee53ff
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 22 Jun 2021 20:35:34 +0300
fix videos not stretching to container
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss
@@ -84,8 +84,8 @@
& .video-container {
& .flash,
& video {
- max-width: 100%;
- max-height: 100%;
+ width: 100%;
+ height: 100%;
object-fit: contain;
align-self: center;
}