Browse Source

Allow long words in comments to wrap if needed

Fixes #11048
Chiemezuo 1 year ago
parent
commit
aa47776b8a

+ 1 - 0
CHANGELOG.txt

@@ -61,6 +61,7 @@ Changelog
  * Fix: Ignore conflicts when inserting reference index entries to prevent race conditions causing uniqueness errors (Chris Shaw)
  * Fix: Populate the correct return value when creating a new snippet within the snippet chooser (claudobahn)
  * Fix: Reinstate missing filter by page type on page search (Matt Westcott)
+ * Fix: Ensure very long words can wrap when viewing saved comments (Chiemezuo Akujobi)
  * Docs: Document `WAGTAILADMIN_BASE_URL` on "Integrating Wagtail into a Django project" page (Shreshth Srivastava)
  * Docs: Replace incorrect screenshot for authors listing on tutorial (Shreshth Srivastava)
  * Docs: Add documentation for building non-model-based choosers using the _queryish_ library (Matt Westcott)

+ 1 - 0
client/src/components/CommentApp/components/Comment/style.scss

@@ -23,6 +23,7 @@
     margin-bottom: 0;
     padding-top: 10px;
     padding-bottom: 10px;
+    word-break: break-all;
 
     &--mode-deleting {
       color: theme('colors.text-context');

+ 1 - 0
docs/releases/5.2.md

@@ -76,6 +76,7 @@ depth: 1
  * Ignore conflicts when inserting reference index entries to prevent race conditions causing uniqueness errors (Chris Shaw)
  * Populate the correct return value when creating a new snippet within the snippet chooser (claudobahn)
  * Reinstate missing filter by page type on page search (Matt Westcott)
+ * Ensure very long words can wrap when viewing saved comments (Chiemezuo Akujobi)
 
 ### Documentation