From 5d094829c473c264320fd8262b742cd34d558369 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Fri, 7 Aug 2026 19:29:36 +0700 Subject: [PATCH] fix(ui): fit select popup to content and wrap long items A single long guild name was clipped (whitespace-nowrap + narrow min-width), so the dropdown rendered as a tiny 144px box with truncated text. Size the popup to fit-content up to the available width and let option text wrap. --- services/frontend/src/components/ui/select.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/frontend/src/components/ui/select.tsx b/services/frontend/src/components/ui/select.tsx index 17808a9..bde3d71 100644 --- a/services/frontend/src/components/ui/select.tsx +++ b/services/frontend/src/components/ui/select.tsx @@ -83,7 +83,7 @@ function SelectContent({ @@ -122,7 +122,7 @@ function SelectItem({ )} {...props} > - + {children}