From bd0af3ae9e27635330c922edaba49a2aedd7ed46 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Feb 2022 22:16:59 +0300 Subject: [PATCH] inline attachment links: break long words to prevent horizontal scrolling --- themes/compact.css | 3 +++ themes/compact_night.css | 3 +++ themes/light-high-contrast.css | 3 +++ themes/light.css | 3 +++ themes/light/tt-rss.less | 4 ++++ themes/night.css | 3 +++ themes/night_blue.css | 3 +++ 7 files changed, 22 insertions(+) diff --git a/themes/compact.css b/themes/compact.css index 4a16d6cc3..11e05550d 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -897,6 +897,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px; diff --git a/themes/compact_night.css b/themes/compact_night.css index e84f42755..caaea832b 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -897,6 +897,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px; diff --git a/themes/light-high-contrast.css b/themes/light-high-contrast.css index 37594bf3d..a8a7cab12 100644 --- a/themes/light-high-contrast.css +++ b/themes/light-high-contrast.css @@ -897,6 +897,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px; diff --git a/themes/light.css b/themes/light.css index d6a9fd900..7da617d43 100644 --- a/themes/light.css +++ b/themes/light.css @@ -897,6 +897,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index a693d970d..6a1f45d28 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -1064,6 +1064,10 @@ body.ttrss_main { max-width : 120px; } + .attachments-inline a { + word-break: break-all; + } + #filterDlg_feeds select { height : 150px; width : 410px; diff --git a/themes/night.css b/themes/night.css index 034483fb7..aa33e94b3 100644 --- a/themes/night.css +++ b/themes/night.css @@ -898,6 +898,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px; diff --git a/themes/night_blue.css b/themes/night_blue.css index 4af40399a..458db3616 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -898,6 +898,9 @@ body.ttrss_main select.attachments { margin-top: 10px; max-width: 120px; } +body.ttrss_main .attachments-inline a { + word-break: break-all; +} body.ttrss_main #filterDlg_feeds select { height: 150px; width: 410px;