Skip to content

Commit

Permalink
Add 'flex-base: auto' for RadioButtonCircle
Browse files Browse the repository at this point in the history
* This allows the circle to adjust the size automatically and works with both box-sizing models
  • Loading branch information
teberl committed Aug 17, 2021
1 parent c7066a8 commit 4475798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RadioButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const RadioButtonCircle = styled.div(
vertical-align: middle;
position: relative;
overflow: hidden;
flex: 0 0 0.5em;
flex: 0 0 auto;
padding: 0.1875em;
border: 2px solid ${ui5};
border-radius: 100%;
Expand Down

0 comments on commit 4475798

Please sign in to comment.