Commit 1e875be
committed
refactor(branding): trim Google icon tests and correct the SVG wrapper
Drop the GoogleIcon and SocialLoginButtons snapshot tests: they pinned exact
attribute strings, the asset byte length, and the absence of markup the
component never contained, so they broke on any legitimate tweak without
catching real regressions.
Correct the wrapper's viewBox to 0 0 200 204 so it matches the artwork, which
bleeds to all four edges. The previous 204-wide box pinned four units of dead
space to the right via xMinYMin, offsetting the mark within its box.
Rewrite the TSDoc: it described avoiding a WebKit foreignObject gradient bug,
but this file never used foreignObject and already ships 106 linearGradient
definitions. Document the real reason instead - Google publishes the current G
only as a raster.
Align the auth button icon on shrink-0 with its sibling callsite.1 parent 705ecd7 commit 1e875be
5 files changed
Lines changed: 13 additions & 168 deletions
File tree
- apps
- docs/components
- sim
- app/(auth)/components
- components
Large diffs are not rendered by default.
Lines changed: 0 additions & 81 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
This file was deleted.
Large diffs are not rendered by default.
0 commit comments