summaryrefslogtreecommitdiff
path: root/themes/compact_night.css
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-12 14:05:51 +0300
committerAndrew Dolgov <[email protected]>2021-03-12 14:05:51 +0300
commitbc73bf0f674820ad75723d4e3269dd8d51d98433 (patch)
treeae98b902463be98d9451676ece9663fa20e22844 /themes/compact_night.css
parentefde6d36c74deb7e57c0efae1261af2c96c5b79e (diff)
cdmToggleGridSpan: toggle classname instead of a style property
Diffstat (limited to 'themes/compact_night.css')
-rw-r--r--themes/compact_night.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/compact_night.css b/themes/compact_night.css
index 6e5a34868..652717380 100644
--- a/themes/compact_night.css
+++ b/themes/compact_night.css
@@ -602,9 +602,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr
/* 2 = because #headlines-spacer is the actual last child
only if odd to deal with 1) single article and 2) not break any previous rows;
1 = spacer;
+
this is outside of .cdm selector because of #headlines-spacer etc
+
+ .grid-span-row is manually expanded RROWs
*/
}
+body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row,
body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd),
body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) {
grid-column: 1 / -1;