From 73812adca1518bee6fc70b936d97647f0a220889 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Sat, 15 Aug 2026 06:21:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=90=20fix:=20Size=20the=20Model=20Pick?= =?UTF-8?q?er=20to=20Its=20Content=20(#14859)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header trigger was w-full inside a max-w-md wrapper, so it rendered as a fixed 448px pill no matter how short the model name was. Let the wrapper shrink-wrap the button and cap it at 60vw (20rem from sm up), so the pill hugs its label and long names truncate instead of claiming the whole row. --- .../src/components/Chat/Menus/Endpoints/ModelSelector.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/Chat/Menus/Endpoints/ModelSelector.tsx b/client/src/components/Chat/Menus/Endpoints/ModelSelector.tsx index 0d2dbeeb6f..b72c4f2dcc 100644 --- a/client/src/components/Chat/Menus/Endpoints/ModelSelector.tsx +++ b/client/src/components/Chat/Menus/Endpoints/ModelSelector.tsx @@ -72,7 +72,7 @@ function ModelSelectorContent() { } /> ); return ( -