From 7a0ea9d90ebcfa6e4a252c55d2636a844e3f5b3d Mon Sep 17 00:00:00 2001 From: JustAMacUser Date: Fri, 15 May 2020 22:25:56 -0400 Subject: Make iframes size responsively. --- themes/light/cdm.less | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'themes/light/cdm.less') diff --git a/themes/light/cdm.less b/themes/light/cdm.less index 71ef96094..b78b64ec1 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -203,6 +203,22 @@ div.cdm.vgrlf .feed { font-size: 11px; } + div.content-inner div.embed-responsive { + overflow : hidden; + padding-bottom : @embed-responsive-padding; + position : relative; + + iframe { + border : 0; + bottom : 0; + height : 100%; + left : 0; + position : absolute; + top : 0; + width : 100%; + } + } + div.header span.author { white-space : nowrap; color : @default-text; -- cgit v1.2.3