summaryrefslogtreecommitdiff
path: root/themes/light/tt-rss.less
diff options
context:
space:
mode:
authorJustAMacUser <[email protected]>2020-05-15 22:25:56 -0400
committerJustAMacUser <[email protected]>2020-05-15 22:25:56 -0400
commit7a0ea9d90ebcfa6e4a252c55d2636a844e3f5b3d (patch)
tree04c2031ec9d41b874fcdfdab9bd46b737eb0f862 /themes/light/tt-rss.less
parenta1ffc116196e023491ff2c3c7b24f48924ea4fd1 (diff)
Make iframes size responsively.
Diffstat (limited to 'themes/light/tt-rss.less')
-rw-r--r--themes/light/tt-rss.less16
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less
index e24838ef5..e7df19f00 100644
--- a/themes/light/tt-rss.less
+++ b/themes/light/tt-rss.less
@@ -65,6 +65,22 @@ body.ttrss_main {
max-width : 98%;
height: auto;
}
+
+ 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%;
+ }
+ }
}
}