diff --git a/playwright/visual.test.ts-snapshots/Button-Link-1-chromium-linux.png b/playwright/visual.test.ts-snapshots/Button-Link-1-chromium-linux.png index f4c1fdf0..3c0d9b92 100644 Binary files a/playwright/visual.test.ts-snapshots/Button-Link-1-chromium-linux.png and b/playwright/visual.test.ts-snapshots/Button-Link-1-chromium-linux.png differ diff --git a/playwright/visual.test.ts-snapshots/Button-Link-Disabled-1-chromium-linux.png b/playwright/visual.test.ts-snapshots/Button-Link-Disabled-1-chromium-linux.png index 199e219a..a2d3d0a4 100644 Binary files a/playwright/visual.test.ts-snapshots/Button-Link-Disabled-1-chromium-linux.png and b/playwright/visual.test.ts-snapshots/Button-Link-Disabled-1-chromium-linux.png differ diff --git a/src/components/Button/Button.module.css b/src/components/Button/Button.module.css index 507f54a2..41868384 100644 --- a/src/components/Button/Button.module.css +++ b/src/components/Button/Button.module.css @@ -28,6 +28,11 @@ limitations under the License. transition-property: color, background-color, border-color; } +a.button { + /* Make the width match that of a real button */ + inline-size: max-content; +} + .button > svg { transition: color 0.1s; }