diff options
| author | JustAMacUser <myself-cmsmxc3e@zaikos.com> | 2020-05-15 22:25:56 -0400 |
|---|---|---|
| committer | JustAMacUser <myself-cmsmxc3e@zaikos.com> | 2020-05-15 22:25:56 -0400 |
| commit | 7a0ea9d90ebcfa6e4a252c55d2636a844e3f5b3d (patch) | |
| tree | 04c2031ec9d41b874fcdfdab9bd46b737eb0f862 /themes/compact_night.css | |
| parent | a1ffc116196e023491ff2c3c7b24f48924ea4fd1 (diff) | |
Make iframes size responsively.
Diffstat (limited to 'themes/compact_night.css')
| -rw-r--r-- | themes/compact_night.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/compact_night.css b/themes/compact_night.css index 74462a3d3..d5cfccde2 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -70,6 +70,20 @@ body.ttrss_main div.post div.content video { max-width: 98%; height: auto; } +body.ttrss_main div.post div.content div.embed-responsive { + overflow: hidden; + padding-bottom: 56.25%; + position: relative; +} +body.ttrss_main div.post div.content div.embed-responsive iframe { + border: 0; + bottom: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} body.ttrss_main .inline-player { display: flex; align-items: center; @@ -1289,6 +1303,20 @@ div.cdm.vgrlf .feed { font-style: italic; font-size: 11px; } +.cdm div.content-inner div.embed-responsive { + overflow: hidden; + padding-bottom: 56.25%; + position: relative; +} +.cdm div.content-inner div.embed-responsive iframe { + border: 0; + bottom: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} .cdm div.header span.author { white-space: nowrap; color: #ccc; |