From eba8c97f3689b1a98ac6062499dd7d84508aefab Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 09:10:40 +0300 Subject: [PATCH] some minor grid stuff --- themes/compact.css | 6 ++++++ themes/compact_night.css | 6 ++++++ themes/light.css | 6 ++++++ themes/light/tt-rss.less | 8 ++++++++ themes/night.css | 6 ++++++ themes/night_blue.css | 6 ++++++ 6 files changed, 38 insertions(+) diff --git a/themes/compact.css b/themes/compact.css index 491fbd9bf..c5e2453f9 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -665,6 +665,12 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer { border: 0; } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer .right { + white-space: nowrap; + } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .content-inner { + word-break: break-all; + } body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] #headlines-spacer, body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .whiteBox { grid-column: span 2; diff --git a/themes/compact_night.css b/themes/compact_night.css index 2057ed135..8ad56b63b 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -665,6 +665,12 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer { border: 0; } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer .right { + white-space: nowrap; + } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .content-inner { + word-break: break-all; + } body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] #headlines-spacer, body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .whiteBox { grid-column: span 2; diff --git a/themes/light.css b/themes/light.css index dc855a0ab..e56a420f5 100644 --- a/themes/light.css +++ b/themes/light.css @@ -665,6 +665,12 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer { border: 0; } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer .right { + white-space: nowrap; + } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .content-inner { + word-break: break-all; + } body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] #headlines-spacer, body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .whiteBox { grid-column: span 2; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index f4a6091e9..5633980bd 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -773,6 +773,14 @@ body.ttrss_main { .footer { border : 0; + + .right { + white-space : nowrap; + } + } + + .content-inner { + word-break: break-all; } } diff --git a/themes/night.css b/themes/night.css index e0dc06698..3c8190e12 100644 --- a/themes/night.css +++ b/themes/night.css @@ -666,6 +666,12 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer { border: 0; } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer .right { + white-space: nowrap; + } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .content-inner { + word-break: break-all; + } body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] #headlines-spacer, body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .whiteBox { grid-column: span 2; diff --git a/themes/night_blue.css b/themes/night_blue.css index 8f05a4efc..6d3cfbaf8 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -666,6 +666,12 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer { border: 0; } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .footer .right { + white-space: nowrap; + } + body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .cdm.expanded .content-inner { + word-break: break-all; + } body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] #headlines-spacer, body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] .whiteBox { grid-column: span 2;