From b6033d0bbd8d253b7bea1450b1b566b96fd9f22a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 11:44:16 +0300 Subject: grid view tweaks --- themes/light/cdm.less | 8 ++++++++ themes/light/tt-rss.less | 18 ++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) (limited to 'themes/light') 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; -- cgit v1.2.3