fix(ButtonV2): button use && specificity as Link . PLAT-1438 - #1367
Conversation
🚀 Snapshot Build PublishedA snapshot version has been published to GitHub Packages for testing: Snapshot Version: You can install this version in your project using (with yarn add @securityscorecard/design-system@pr-1367Published to GitHub Packages; snapshot versions are not unpublished when the PR is closed. |
485d0b7 to
8dd9ec9
Compare
🚀 Snapshot Build PublishedA snapshot version has been published to GitHub Packages for testing: Snapshot Version: You can install this version in your project using (with yarn add @securityscorecard/design-system@pr-1367Published to GitHub Packages; snapshot versions are not unpublished when the PR is closed. |
8dd9ec9 to
f167931
Compare
🚀 Snapshot Build PublishedA snapshot version has been published to GitHub Packages for testing: Snapshot Version: You can install this version in your project using (with yarn add @securityscorecard/design-system@pr-1367Published to GitHub Packages; snapshot versions are not unpublished when the PR is closed. |
The
border-radiusinButtonRootwas set with!importantto fix button cornerswhen
ButtonV2is used withas={Link}. This caused unintended side effects inconsumers that legitimately need to override
border-radius(e.g. circular buttons),forcing them to also use
!important— creating a specificity arms race.