From 7d9535457fd9aaffc4b5802f504a80ad066de464 Mon Sep 17 00:00:00 2001 From: adb Date: Sun, 11 Apr 2021 22:40:36 +0200 Subject: [PATCH] fix media width --- src/components/event.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/event.vue b/src/components/event.vue index 86657f4..85d9c07 100644 --- a/src/components/event.vue +++ b/src/components/event.vue @@ -137,7 +137,7 @@ export default { .image{ width: 100%; img{ - width: 100%; + max-width: 100%; height: auto; max-height: 35rem; border-radius: 0.5rem; @@ -146,12 +146,17 @@ export default { .video{ width: 100%; video{ - width: 100%; + max-width: 100%; height: auto; max-height: 35rem; border-radius: 0.5rem; } } + .audio{ + audio{ + max-width: 100%; + } + } .italic{ font-style: italic; }