diff options
author | Andrew Dolgov <[email protected]> | 2021-03-10 20:27:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-10 20:27:20 +0300 |
commit | 3e1b3e8ea8098847d9769b37c340cb3255b5399b (patch) | |
tree | e74e89f2bbc630a4d7bfeb1b185aaa0ee55ab648 /themes/light/tt-rss.less | |
parent | 143617afb1cf5f0c1fb5baa3e629b3bc92064eae (diff) |
grid: add workaround for a single loaded headline not spanning all columns
Diffstat (limited to 'themes/light/tt-rss.less')
-rw-r--r-- | themes/light/tt-rss.less | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index db17647a4..fe8dd91a0 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -762,6 +762,16 @@ body.ttrss_main { grid-gap : 8px; padding : 8px; + &[data-headlines-count="1"] { + #headlines-spacer, .whiteBox, .feed-title { + grid-column: 1; + } + } + + #headlines-spacer, .whiteBox, .feed-title { + grid-column : 1 e("/") -1; + } + .cdm.expanded { .header, .content { @@ -807,10 +817,6 @@ body.ttrss_main { word-break: break-all; } } - - #headlines-spacer, .whiteBox, .feed-title { - grid-column : 1 e("/") -1; - } } #headlines-frame { |