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

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

kabarchonok
Copy link
Contributor

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
Contributor Author

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

@lloydaf lloydaf merged commit 47ac450 into freenowtech:main Mar 11, 2025
5 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 11, 2025
### [2.27.1](v2.27.0...v2.27.1) (2025-03-11)

### Bug Fixes

* improve spaces when label is not defined ([#450](#450)) ([#515](#515)) ([47ac450](47ac450))
Copy link
Contributor

🎉 This PR is included in version 2.27.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kabarchonok kabarchonok deleted the 450/fix-checkbox-spaces branch March 11, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Remove Checkbox margin when label is not defined
4 participants