Skip to content

Commit a766645

Browse files
committed
fix(components): fix primarybutton and alt primarybutton styling issue
fix primarybutton and alt primarybutton styling issue close AUTH-2559
1 parent a102faf commit a766645

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

components/src/atoms/buttons/AltPrimaryButton.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,17 @@ export const AltPrimaryButton = styled(Btn)`
1616
1717
${styleProps}
1818
19-
&:focus {
19+
&:hover {
20+
box-shadow: 0 0 0;
2021
background-color: ${COLORS.grey35};
21-
box-shadow: none;
2222
}
2323
2424
&:active {
2525
background-color: ${COLORS.grey40};
2626
}
2727
28-
&:hover {
29-
box-shadow: 0 0 0;
30-
background-color: ${COLORS.grey35};
28+
&:active:hover {
29+
background-color: ${COLORS.grey40};
3130
}
3231
3332
&:disabled {

components/src/atoms/buttons/PrimaryButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export const PrimaryButton = styled(Btn)`
1818
1919
${styleProps}
2020
21-
&:hover,
22-
&:focus {
21+
&:hover {
2322
background-color: ${COLORS.blue55};
2423
box-shadow: none;
2524
}

0 commit comments

Comments
 (0)