Skip to content

Fixing bug in Link styled as a button#480

Merged
flacoman91 merged 1 commit intomainfrom
rad-link-button-bug
Feb 6, 2026
Merged

Fixing bug in Link styled as a button#480
flacoman91 merged 1 commit intomainfrom
rad-link-button-bug

Conversation

@flacoman91
Copy link
Collaborator

@flacoman91 flacoman91 commented Feb 6, 2026

During the Link refactor, I introduced a new bug and caused the Link styled as a button to have an underline in it.

Changes

  • This fixes the Link and removes the a-link class when the asButton parameter is passed to the component

How to test this PR

  1. Go to preview and confirm the Link as button does not have the underlined text

Screenshots

Screenshot 2026-02-06 at 2 02 35 PM

Notes

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-06 22:29 UTC

add doc text

linting

adds a unit test

fixing link and Link as button errors

pull out skipnav things
@flacoman91 flacoman91 merged commit 2384eb3 into main Feb 6, 2026
4 checks passed
@flacoman91 flacoman91 deleted the rad-link-button-bug branch February 6, 2026 22:29
@flacoman91 flacoman91 restored the rad-link-button-bug branch February 6, 2026 22:44
@flacoman91 flacoman91 deleted the rad-link-button-bug branch February 6, 2026 22:46
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.

2 participants