Repository navigation
fix: use custom properties for radio button and checkbox sizing and spacing - #2746
Conversation
…pacing Set font properties on the host (don't rely on inheritance). Add missing imports.
|
Kudos, SonarCloud Quality Gate passed!
|
|
I didn't have the chance to continue on this until now. I was still reviewing the screenshots, and I noticed that the vertical alignment of the label compared to the input is slightly off in them (the text is not centered with the input). It looks fine when running locally, so it’s probably something related to the way OS renders text. I’m going to check it on Windows, see if the alignment is different there. |
|
Hmm, apparently the same issue has been present in the previous implementation as well. So not a regression, at least. But not ideal either, that on Windows the text does not appear to be visually centered with the input: Seems like the font family plays a big role (Segoe UI on Windows). Using For the curious: https://core.trac.wordpress.org/ticket/48423
|
|
This ticket/PR has been released with platform 22.0.0.alpha7 and is also targeting the upcoming stable 22.0.0 version. |










Description
Use Lumo custom properties for sizing and spacing radio button and checkbox and related group components.
Additionally:
Fixes #743
Fixes #717
Fixes #660
Type of change
Checklist