From c3eac7c7891f17349a034ab4bc16d23c802f676b Mon Sep 17 00:00:00 2001 From: jelveh Date: Sat, 8 Aug 2026 00:17:53 -0700 Subject: [PATCH] fix(gui): size the folder name box to the name it holds The box sat at the browser's default ~20ch regardless of content: a short name floated in a hover pill far wider than the word, and a 40-character one clipped while the card had room to spare. field-sizing: content hugs the text between a 90px floor and the card's width, iOS-style; engines without the property keep the default box exactly as before. --- src/gui/src/css/dashboard.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/src/css/dashboard.css b/src/gui/src/css/dashboard.css index fb846629d..cd4c9333d 100644 --- a/src/gui/src/css/dashboard.css +++ b/src/gui/src/css/dashboard.css @@ -1330,6 +1330,12 @@ input.myapps-group-name { box-sizing: border-box; width: auto; max-width: 100%; + /* Hug the name (iOS sizes the field to its text): a short name in the + default ~20ch box floats in a hover pill far wider than the word, and + a long one clips while the card has room. Engines without field-sizing + keep that default box — same behavior as before, just less tailored. */ + field-sizing: content; + min-width: 90px; padding: 4px 10px; border: 1px solid transparent; border-radius: 8px;