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) <noreply@anthropic.com>
This commit is contained in:
parent
4624fb305a
commit
6a58b2970a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue