From e80330b13c22171a4d26f9aa547ccad12a73489f Mon Sep 17 00:00:00 2001 From: TerryM Date: Fri, 5 Jun 2026 21:39:05 +0800 Subject: [PATCH] fix: stop language picker shrinking in flex header After dropping the fixed width, the language pill still got truncated because its flex parent could shrink it below content size. Add `shrink-0` to the wrapper and switch the trigger button from `w-full` to `w-auto` with `whitespace-nowrap`, so the button always sizes to fit the longest label like "Bahasa Indonesia". --- src/layouts/PublicLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/PublicLayout.tsx b/src/layouts/PublicLayout.tsx index 5ca46e9..6a250ad 100644 --- a/src/layouts/PublicLayout.tsx +++ b/src/layouts/PublicLayout.tsx @@ -152,7 +152,7 @@ function LanguageDropdown({