From bc73bf0f674820ad75723d4e3269dd8d51d98433 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Mar 2021 14:05:51 +0300 Subject: cdmToggleGridSpan: toggle classname instead of a style property --- themes/night_blue.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'themes/night_blue.css') diff --git a/themes/night_blue.css b/themes/night_blue.css index 4a0a8f5be..ae9a21b12 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -603,9 +603,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; -- cgit v1.2.3