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

Checkbox layout is broken in 7.5.0 #5652

Closed
1 of 2 tasks
julienben opened this issue Jan 26, 2024 · 4 comments
Closed
1 of 2 tasks

Checkbox layout is broken in 7.5.0 #5652

julienben opened this issue Jan 26, 2024 · 4 comments

Comments

@julienben
Copy link

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.5.0

What package has an issue?

@mantine/core

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Chrome

Describe the bug

Hey there,
I noticed that the styling of the Checkbox component is broken in the latest version.
The label is always on the left and there is no margin between the label and the checkbox itself.
You can see it here:
image
and on the relevant docs page.

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@pavlyutkin
Copy link

+1

@mpham-hai
Copy link

mpham-hai commented Jan 27, 2024

same for switch (labelPosition does not work)

ozerenes added a commit to ozerenes/mantine that referenced this issue Jan 27, 2024
ozerenes added a commit to ozerenes/mantine that referenced this issue Jan 27, 2024
ozerenes added a commit to ozerenes/mantine that referenced this issue Jan 27, 2024
ozerenes added a commit to ozerenes/mantine that referenced this issue Jan 27, 2024
@ozerenes
Copy link

ozerenes commented Jan 27, 2024

The error is not just related to layout corruption. Label position attribute was not working. (Radio, Switch, Checkbox). Pr no : #5659 .
@rtivital

@julienben
Copy link
Author

Closing as I see a PR to fix this has been merged a few minutes ago. Thanks 🙏

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

No branches or pull requests

4 participants