From 473fdff8ca42f28ae409984fb8f7b8ea1bdac877 Mon Sep 17 00:00:00 2001 From: natyusha <985941+natyusha@users.noreply.github.com> Date: Fri, 23 Aug 2024 08:52:03 -0400 Subject: [PATCH] Title+Group Overflow Tweaks / Original Language Fix / Modals Fix (#1013) * Title+Group Overflow Tweaks / Original Language Fix / Modals Fix - center the overflow on the series page for the preferred title - change "Entire Collection" to "Collection" to make more room for titles - stop long group names on the collection page going multiline and breaking the display - force the original language title to be "official" on the series page to avoid displaying title cards, synonyms or short versions - allow modals to scroll when they run out of vertical space instead of breaking * Apply Suggestions --- src/components/Collection/CollectionTitle.tsx | 21 ++++++++++++------- src/components/Panels/ModalPanel.tsx | 6 +++--- src/pages/collection/Series.tsx | 10 ++++----- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/components/Collection/CollectionTitle.tsx b/src/components/Collection/CollectionTitle.tsx index e54cb3c20..724caafba 100644 --- a/src/components/Collection/CollectionTitle.tsx +++ b/src/components/Collection/CollectionTitle.tsx @@ -12,33 +12,38 @@ type Props = { }; const CollectionTitle = memo(({ count, filterActive, filterOrGroup, searchQuery }: Props) => ( -