Skip to content

fix(labs): link buttons don't underline their label - #6113

Open
MahmoodKhalil57 wants to merge 1 commit into
material-components:mainfrom
MahmoodKhalil57:fix/gb-button-link-underline
Open

MahmoodKhalil57 wants to merge 1 commit into
material-components:mainfrom
MahmoodKhalil57:fix/gb-button-link-underline

Conversation

@MahmoodKhalil57

Copy link
Copy Markdown

An md-gb-button with href renders an <a>, and the browser's default link underline stays on its label. The button now sets text-decoration: none, so a link button looks like any other button.

The change is one declaration in labs/gb/components/button/button.scss.

An md-gb-button with href renders an <a>, 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant