From 70fe3848fb932c0a783e087315c3122bad7b5e22 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sat, 16 May 2026 19:24:10 +0200 Subject: [PATCH] fix(14-02): shrink Google button to content width width: auto on a block element still fills the parent. Use width: max-content so the button wraps its icon + label + padding only. Remove flex-grow: 1 on the label span so it doesn't stretch within the now-natural-width button. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- backend/internal/web/ui/auth.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/internal/web/ui/auth.css b/backend/internal/web/ui/auth.css index a719b2b..c02f5c9 100644 --- a/backend/internal/web/ui/auth.css +++ b/backend/internal/web/ui/auth.css @@ -284,7 +284,7 @@ box-shadow 0.218s; vertical-align: middle; white-space: nowrap; - width: auto; + width: max-content; } .gsi-material-button .gsi-material-button-icon { @@ -312,7 +312,7 @@ } .gsi-material-button .gsi-material-button-contents { - flex-grow: 1; + flex-grow: 0; font-family: "Roboto", Arial, sans-serif; font-weight: 500; overflow: hidden;