From 25f55b76bdc96b5f7fdfd4c0c603615f3ca10b1d Mon Sep 17 00:00:00 2001 From: Mahmood Khalil Date: Sun, 8 Nov 2026 15:56:15 +0000 Subject: [PATCH] fix(labs): link buttons don't underline their label An md-gb-button with href renders an , and the browser's default link underline stayed on its label. The button now sets text-decoration: none, so a link button looks like any other button. --- labs/gb/components/button/button.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/labs/gb/components/button/button.scss b/labs/gb/components/button/button.scss index 1ea654f4cd..e8539a72bc 100644 --- a/labs/gb/components/button/button.scss +++ b/labs/gb/components/button/button.scss @@ -121,6 +121,8 @@ letter-spacing: var(--label-text-tracking); font-variation-settings: var(--label-text-axes); -webkit-font-smoothing: antialiased; + // A link button (`href`) is an : no link underline on its label. + text-decoration: none; transition: border-radius 350ms cubic-bezier(0.42, 1.67, 0.21, 0.9), var(--ripple-transition);