From f58879c1dc284a60bce4199ccf05448198498ff4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 12:10:11 +0300 Subject: small stuck header fixes in grid mode --- themes/light/cdm.less | 2 +- themes/light/tt-rss.less | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'themes/light') diff --git a/themes/light/cdm.less b/themes/light/cdm.less index dfcc42e20..abedd7c01 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -323,7 +323,7 @@ div.cdm.expandable:not(.active) { div.cdm { &.expandable.active, &.expanded { - .header[stuck] { + .header[data-is-stuck] { box-shadow : 0 1px 1px -1px rgba(0,0,0,0.1); border: 0 solid @border-default; border-bottom-width: 1px; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index 8735c1415..fa7e3e2a1 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -763,10 +763,6 @@ body.ttrss_main { grid-gap : 8px; padding : 8px; - .header[stuck] { - top : -8px; - } - .cdm.expanded { .header, .content { @@ -780,6 +776,11 @@ body.ttrss_main { padding : 0 4px 4px 4px; } + .header[data-is-stuck] { + top : -8px; + border-bottom-width: 1px; + } + .header { border-bottom-width : 0; padding : 4px; -- cgit v1.2.3