From 6a58b2970a324eb364ed28b1691d60a0795d2e78 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sat, 16 May 2026 19:21:41 +0200 Subject: [PATCH] fix(14-02): shrink Google button to natural width per Google spec Google's gsi-material-button uses width: auto, not 100%. Replace width: 100% / max-width: 400px with width: auto + margin: 0 auto so the button sizes to its content (icon + label + padding) and stays centered in the card. 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 0c843a0..a719b2b 100644 --- a/backend/internal/web/ui/auth.css +++ b/backend/internal/web/ui/auth.css @@ -270,7 +270,7 @@ font-size: 14px; height: 40px; letter-spacing: 0.25px; - max-width: 400px; + margin: 0 auto; min-width: min-content; outline: none; overflow: hidden; @@ -284,7 +284,7 @@ box-shadow 0.218s; vertical-align: middle; white-space: nowrap; - width: 100%; + width: auto; } .gsi-material-button .gsi-material-button-icon {