Skip to content

Commit

Permalink
fix(react): prevent style changes on hover and press when active
Browse files Browse the repository at this point in the history
  • Loading branch information
naporin0624 committed Dec 25, 2024
1 parent 6e08538 commit 05c41dc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/react/src/components/SegmentedControl/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@
color: var(--charcoal-text5);
}

.charcoal-segmented-control-radio__label:not(
[aria-disabled='true']
)[data-checked='true']:hover {
background-color: var(--charcoal-brand-hover);
}
.charcoal-segmented-control-radio__label:not(
[aria-disabled='true']
)[data-checked='true']:active {
background-color: var(--charcoal-brand-press);
}

.charcoal-segmented-control-radio__label[aria-disabled]:not(
[aria-disabled='false']
) {
Expand Down

0 comments on commit 05c41dc

Please sign in to comment.