aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-22 20:35:34 +0300
committerHenry Jameson <me@hjkos.com>2021-06-22 20:35:34 +0300
commit5118eee19a5dba5245b9394ac222cf1ff7e09ea0 (patch)
tree6083df56c8d1d799b7a0ef4a789db630706b339c /src
parent4ba8d95a10fdf22a7cefc56ea0515b7c30ee53ff (diff)
fix videos not stretching to container
Diffstat (limited to 'src')
-rw-r--r--src/components/attachment/attachment.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss
index b4a81a08..0cb23a37 100644
--- 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;
}