From 97fadba58293d34080887d894b0ee9817719a420 Mon Sep 17 00:00:00 2001 From: frankyiu Date: Sun, 20 Oct 2024 00:27:11 -0400 Subject: [PATCH] Fix long name issue in document chooser table cell (#12430, #12431) Fixes #12357 --- CHANGELOG.txt | 1 + CONTRIBUTORS.md | 2 ++ client/scss/components/_listing.scss | 1 + docs/releases/6.3.md | 1 + 4 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a4ec69fe00..fee3aeb8a1 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -154,6 +154,7 @@ Changelog * Fix: Ensure that system checks for `WAGTAIL_DATE_FORMAT`, `WAGTAIL_DATETIME_FORMAT` and `WAGTAIL_TIME_FORMAT` take `FORMAT_MODULE_PATH` into account (Sébastien Corbin) * Fix: Prevent rich text fields inside choosers from being duplicated when opened repeatedly (Sage Abdullah) * Fix: Prevent history view from breaking if a log entry's revision is missing (Matt Westcott) + * Fix: Prevent long filenames from breaking layout on document chooser listings (Frank Yiu, Shaurya Panchal) * Docs: Remove duplicate section on frontend caching proxies from performance page (Jake Howard) * Docs: Document `restriction_type` field on PageViewRestriction (Shlomo Markowitz) * Docs: Document Wagtail's bug bounty policy (Jake Howard) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b8ba59c9a8..8a5774c479 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -844,6 +844,8 @@ * Bart Cieliński * alexkiro * Ankit Kumar +* Frank Yiu +* Shaurya Panchal ## Translators diff --git a/client/scss/components/_listing.scss b/client/scss/components/_listing.scss index f5a8d44022..17b6d747b7 100644 --- a/client/scss/components/_listing.scss +++ b/client/scss/components/_listing.scss @@ -50,6 +50,7 @@ ul.listing { td { vertical-align: middle; + overflow-wrap: anywhere; } td.title { diff --git a/docs/releases/6.3.md b/docs/releases/6.3.md index c0af50686c..5f6d5e24a5 100644 --- a/docs/releases/6.3.md +++ b/docs/releases/6.3.md @@ -100,6 +100,7 @@ This feature was developed by Bart Cieliński, alexkiro, and Sage Abdullah. * Improve the text contrast of the bulk actions "Select all" button (Sage Abdullah) * Fix error on workflow settings view with multiple snippet types assigned to the same workflow on Postgres (Sage Abdullah) * Prevent history view from breaking if a log entry's revision is missing (Matt Westcott) + * Prevent long filenames from breaking layout on document chooser listings (Frank Yiu, Shaurya Panchal) ### Documentation