Skip to content

Commit

Permalink
Merge pull request #1406 from artsy/damassi/fix/bordered-radio
Browse files Browse the repository at this point in the history
fix(bordered-radio): more border specificity fixes
  • Loading branch information
damassi authored Oct 22, 2024
2 parents 9835dcf + f42adf2 commit 226d1da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/palette/src/elements/BorderedRadio/BorderedRadio.tsx
Original file line number Diff line number Diff line change
@@ -11,16 +11,16 @@ export const BorderedRadio = styled(Radio)<BorderedRadioProps>`
border: 1px solid ${themeGet("colors.black10")};
transition: background-color 0.25s;
:hover:not(:disabled) {
&:hover:not(:disabled) {
background-color: ${themeGet("colors.black5")};
}
:not(:first-child) {
&:not(:first-child) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
:not(:last-child) {
&:not(:last-child) {
border-bottom: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

0 comments on commit 226d1da

Please sign in to comment.