From a0dd5baa51b7e12ff42f94b414a06084b4311d81 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 19:27:39 +0300 Subject: [PATCH] adjust grid view footer --- themes/compact.css | 5 +++-- themes/compact_night.css | 5 +++-- themes/light.css | 5 +++-- themes/light/tt-rss.less | 8 ++++---- themes/night.css | 5 +++-- themes/night_blue.css | 5 +++-- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/themes/compact.css b/themes/compact.css index 34e9d5c62..9a0803473 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -677,8 +677,9 @@ body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true" } 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 { + padding: 4px; + overflow: hidden; + text-overflow: ellipsis; 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, diff --git a/themes/compact_night.css b/themes/compact_night.css index 859f22a9f..4da8521b0 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -677,8 +677,9 @@ body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true" } 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 { + padding: 4px; + overflow: hidden; + text-overflow: ellipsis; 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, diff --git a/themes/light.css b/themes/light.css index b0f62b3ae..063c430a7 100644 --- a/themes/light.css +++ b/themes/light.css @@ -677,8 +677,9 @@ body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true" } 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 { + padding: 4px; + overflow: hidden; + text-overflow: ellipsis; 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, diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index b52979aea..2d18a39d4 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -791,10 +791,10 @@ body.ttrss_main { .footer { border : 0; - - .right { - white-space : nowrap; - } + padding : 4px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .content-inner, .intermediate { diff --git a/themes/night.css b/themes/night.css index 677273a23..67f4e7396 100644 --- a/themes/night.css +++ b/themes/night.css @@ -678,8 +678,9 @@ body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true" } 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 { + padding: 4px; + overflow: hidden; + text-overflow: ellipsis; 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, diff --git a/themes/night_blue.css b/themes/night_blue.css index 62e84582b..7b256a896 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -678,8 +678,9 @@ body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true" } 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 { + padding: 4px; + overflow: hidden; + text-overflow: ellipsis; 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,