summaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-10 12:10:11 +0300
committerAndrew Dolgov <[email protected]>2021-03-10 12:10:11 +0300
commitf58879c1dc284a60bce4199ccf05448198498ff4 (patch)
treef62cb276b7bb26416f7736e83d855effe5b79008 /themes/light
parentbdc72e5b6332bb395db4419ea6e9f1550ec331ab (diff)
small stuck header fixes in grid mode
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/cdm.less2
-rw-r--r--themes/light/tt-rss.less9
2 files changed, 6 insertions, 5 deletions
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;