[Feature Request]: Replace bottom padding on checkbox and radio item with calculated bottom margin. #1966
Labels
Enhancement
New feature or request
ready-for-contribution
Use to mark any story that is contributor friendly
Is your feature request related to a problem? Please describe
In my previous PR for the checkbox component (#1869), I used bottom padding to match the radio item.
But I've since noticed a much better approach used by other components: set a default calculated margin.
This approach gives teams more flexibility to adjust or remove the bottom margin as needed. They can set the
mb
property instead of relying on negative margins.Describe the solution you'd like
export let mb: Spacing = "m";
Are you able to assist to bring the feature to reality?
Of course! I've created an initial PR for the idea: #1967
The text was updated successfully, but these errors were encountered: