-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radio: Add border to selected radio button #3808
Radio: Add border to selected radio button #3808
Conversation
@@ -4,7 +4,7 @@ | |||
@use '@kirbydesign/core/src/scss/utils'; | |||
|
|||
$radio-icon-size: utils.size('m'); | |||
$radio-icon-mark-size: 60%; | |||
$radio-icon-mark-size: 12px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoded the 12px since the 60% was no longer resulting in 12px size marker, caused from the newly added border which effectively reduced the size of the container from 20x20px to 18x18px.
Probably should be converted to rem when adding support for font-resize
…shouldcould-have-a-border-to-improve-ui
…shouldcould-have-a-border-to-improve-ui
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally!!! This borders excellent work 😁
…shouldcould-have-a-border-to-improve-ui
Which issue does this PR close?
This PR closes #3502
What is the new behavior?
Added border to selected radio buttons to comply with recent design for radio buttons. Border also added to disabled selected radio buttons.
Does this PR introduce a breaking change?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.