Skip to content

Commit 8dd9ec9

Browse files
fix(ButtonV2): button use && specificity as Link . PLAT-1438
1 parent fa4f426 commit 8dd9ec9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ButtonV2/components.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const ButtonRoot = styled.button`
1414
align-items: center;
1515
justify-content: center;
1616
gap: var(--sscds-space-1x);
17-
border-radius: var(--sscds-radii-button) !important;
17+
border-radius: var(--sscds-radii-button);
1818
line-height: var(--sscds-font-lineheight-elementlabel);
1919
font-weight: var(--sscds-font-weight-elementlabel-default);
2020
white-space: nowrap;
@@ -47,6 +47,9 @@ export const ButtonRoot = styled.button`
4747
transform: none;
4848
}
4949
}
50+
a& {
51+
border-radius: var(--sscds-radii-button);
52+
}
5053
`;
5154
export const Label = styled.span`
5255
padding: 0rem var(--sscds-button-padding-label);

0 commit comments

Comments
 (0)