From ae3537e008602206875347906f5ceb1cd2dd7796 Mon Sep 17 00:00:00 2001 From: "Chuma Mcphoy (We Ahead)" Date: Fri, 7 Nov 2025 11:21:17 +0000 Subject: [PATCH] Merged in fix/LOY-444-points-to-keep-left-text (pull request #3086) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(LOY-444): fix markerLabel text when left aligned * fix(LOY-444): fix markerLabel text when left aligned Approved-by: Matilda Landström --- .../InnerCard/ProgressSection/index.tsx | 4 +++ .../progressSection.module.css | 27 ++++++++++++------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/ProgressSection/index.tsx b/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/ProgressSection/index.tsx index 61f99725b..8cc468a6a 100644 --- a/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/ProgressSection/index.tsx +++ b/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/ProgressSection/index.tsx @@ -24,11 +24,15 @@ export default function ProgressSection({ const intl = useIntl() const hasMarkerPosition = progress.markerPosition !== undefined + const shouldWrap = + hasMarkerPosition && toKeepCurrent && (progress.markerPosition ?? 0) < 30 + return (