Skip to content

Commit

Permalink
fix: radio button click area is not covering the whole toggle button …
Browse files Browse the repository at this point in the history
…circle (#195)
  • Loading branch information
aurorascharff authored Nov 12, 2024
1 parent debcaa6 commit 780945d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/css/src/formElements/radiobutton/radiobutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
outline: 2px solid var(--mdPrimaryColor);
outline-offset: 2px;
}

.md-radiobutton input[type='radio'] {
position: absolute;
left: 0;
margin: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
Expand Down

0 comments on commit 780945d

Please sign in to comment.