Closed ghost closed 8 months ago
Hello! Thanks for the bug report.
It seems like this happens because the Switch
uses css grid, with a gap, and the grid is hard coded to two columns in the css. So when you don't have any children or a description this happens.
I will fix this issue, since this should not happen.
Good morning! Just curious how have you solved the labeling the Switch in this use case? @WilliamThorenfeldt
Description of the bug
There is some padding on the right side of the Switch which prevents the component from being aligned in the center of my box:
Steps To Reproduce
Additional Information
No response