Skip to content
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

fix: improve spaces when label is not defined (#450) #515

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kabarchonok
Copy link

What

Replaced margin with gap in Checkbox, RadioButton and Toggle components to improve UI when no label is undefined.

Also slightly changed the default history for the Checkbox similar to other components, made the default label undefined.

Why

Closes #450

The margin has been removed in favour of gap to get rid of unnecessary indentation when label undefined
@kabarchonok kabarchonok force-pushed the 450/fix-checkbox-spaces branch from 14850e9 to d4577ab Compare February 4, 2025 20:53
Copy link
Contributor

@dornelasnelson dornelasnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @kabarchonok, thanks a lot for contributing to wave. I've left a few comments and suggestions. I'm talking with the team to understand whether this is really relevant as the issue was about wave version 1 and we are at version 2 now but I ran your forked repo here and it looks like it works well.

@kabarchonok
Copy link
Author

@dornelasnelson You're welcome! I just did it for fun, so I don't pretend to be opinionated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Remove Checkbox margin when label is not defined
3 participants