From 65e652aaa010c25ca5072dbaac816ff6da93e17b Mon Sep 17 00:00:00 2001 From: Zishan Mirza Date: Wed, 23 Feb 2022 07:29:54 +0000 Subject: [PATCH 1/2] Fix text overflow in Source Interface replies When long text is displayed in the "Read Replies" box, the text would overflow out of the box. This patch fixes it. Signed-off-by: Zishan Mirza --- securedrop/sass/source.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/securedrop/sass/source.sass b/securedrop/sass/source.sass index 9c20b64fd2..f532903ef7 100644 --- a/securedrop/sass/source.sass +++ b/securedrop/sass/source.sass @@ -143,6 +143,7 @@ p#codename margin-bottom: 1em border-radius: 5px position: relative + word-wrap: break-word &:dir(rtl) text-align: right From 9ea0fbdcdec818fbe63764bfaafa9b7f31468749 Mon Sep 17 00:00:00 2001 From: Zishan Mirza Date: Wed, 23 Feb 2022 07:30:43 +0000 Subject: [PATCH 2/2] Fix text overflow in Source Interface replies Switched "word-wrap" to "overflow-wrap". Signed-off-by: Zishan Mirza --- securedrop/sass/source.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securedrop/sass/source.sass b/securedrop/sass/source.sass index f532903ef7..d98e98c7b4 100644 --- a/securedrop/sass/source.sass +++ b/securedrop/sass/source.sass @@ -143,7 +143,7 @@ p#codename margin-bottom: 1em border-radius: 5px position: relative - word-wrap: break-word + overflow-wrap: break-word &:dir(rtl) text-align: right