summaryrefslogtreecommitdiff
path: root/themes/light/cdm.less
diff options
context:
space:
mode:
authorfox <[email protected]>2020-05-17 05:20:23 +0000
committerGogs <[email protected]>2020-05-17 05:20:23 +0000
commit3dc506a19ac483c60cf2800066e4403df4db0ef1 (patch)
treefbed1f6a834436118871dad7de42b856c7a795e9 /themes/light/cdm.less
parenta1ffc116196e023491ff2c3c7b24f48924ea4fd1 (diff)
parentc93bcef91f82493e248e2f7085883d81e95dd136 (diff)
Merge branch 'responsive-iframes' of JustAMacUser/tt-rss into master
Diffstat (limited to 'themes/light/cdm.less')
-rw-r--r--themes/light/cdm.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less
index 71ef96094..e77f2ec03 100644
--- a/themes/light/cdm.less
+++ b/themes/light/cdm.less
@@ -6,6 +6,7 @@
.header {
position: sticky;
top : 0;
+ z-index: 3;
}
.header, .footer {
@@ -203,6 +204,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;