From df374b6a2239156112623e90633b11d9f528d1eb Mon Sep 17 00:00:00 2001 From: silverpill Date: Tue, 11 Oct 2022 21:30:21 +0000 Subject: [PATCH] Set video width to 100% --- src/components/PostAttachment.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/PostAttachment.vue b/src/components/PostAttachment.vue index 14f1c77..2ad79a5 100644 --- a/src/components/PostAttachment.vue +++ b/src/components/PostAttachment.vue @@ -17,14 +17,18 @@ defineProps<{ @import "../styles/theme"; @import "../styles/mixins"; -img { - display: block; - width: 100%; -} - a { @include block-link; word-wrap: break-word; } + +img { + display: block; + width: 100%; +} + +video { + width: 100%; +}