summaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-10 11:44:16 +0300
committerAndrew Dolgov <[email protected]>2021-03-10 11:44:16 +0300
commitb6033d0bbd8d253b7bea1450b1b566b96fd9f22a (patch)
tree191eddb7e58c677b81819c7fbc574b6bfad8d3d8 /themes/light
parent0b93d8d0137c46ce153ca65fae3e22304cc80009 (diff)
grid view tweaks
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/cdm.less8
-rw-r--r--themes/light/tt-rss.less18
2 files changed, 24 insertions, 2 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less
index 3a5b602f2..dfcc42e20 100644
--- a/themes/light/cdm.less
+++ b/themes/light/cdm.less
@@ -86,12 +86,20 @@
font-size : 16px;
}
+ .intermediate iframe,
+ .content-inner iframe {
+ max-width : 98%;
+ width : auto;
+ height : auto;
+ }
+
.intermediate img,
.intermediate video,
.content-inner img,
.content-inner video {
border-width : 0px;
max-width : 98%;
+ width : auto;
height : auto;
}
}
diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less
index ac21938c7..dc76c6846 100644
--- a/themes/light/tt-rss.less
+++ b/themes/light/tt-rss.less
@@ -768,8 +768,22 @@ body.ttrss_main {
}
.cdm.expanded {
- background : @default-bg;
- border : 1px solid @border-default;
+
+ .header, .content {
+ background : @default-bg;
+ border : 1px solid @border-default;
+ overflow : hidden;
+ }
+
+ .content {
+ border-top-width : 0;
+ padding : 0 4px 4px 4px;
+ }
+
+ .header {
+ border-bottom-width : 0;
+ padding : 4px;
+ }
.footer {
border : 0;