From fa8fa2d3302b5282c1ebc129278365d100be7533 Mon Sep 17 00:00:00 2001 From: shpuld Date: Sat, 14 Apr 2018 15:45:38 +0300 Subject: Force oembeds to use 100% width --- src/components/attachment/attachment.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/attachment/attachment.vue') diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index e2cc1ac0..b2f63668 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -2,7 +2,7 @@
[{{nsfw ? "NSFW/" : ""}}{{type.toUpperCase()}}]
-
+
@@ -71,6 +71,9 @@ border-color: var(--border, $fallback--border); overflow: hidden; } + .fullwidth { + flex-basis: 100%; + } // fixes small gap below video &.video { line-height: 0; @@ -117,6 +120,7 @@ .oembed { line-height: 1.2em; + flex: 1 0 100%; width: 100%; margin-right: 15px; display: flex; -- cgit v1.2.3-70-g09d2