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

[@mantine/core] Adjust Inline input label while passing component as label #2881

Merged

Conversation

adarshaacharya
Copy link
Contributor

When a component is passed as label then it appears on the bottom right of the component like Checkbox, Switch or Radio component, added inline flex on InlineInput labelWrapper class to fix this issue

@rtivital
Copy link
Member

rtivital commented Nov 6, 2022

This will break error and description styles
Снимок экрана 2022-11-06 в 11 06 20

… prevent Component label from going bottom right
@adarshaacharya
Copy link
Contributor Author

@rtivital sry, added direction column to avoid this .

@adarshaacharya adarshaacharya changed the title [@mantine/core] Add inline-flex to label wrapper to adjust Component label [@mantine/core] Adjust Inline input label while passing component as label Nov 6, 2022
@rtivital rtivital merged commit 4aa5bf7 into mantinedev:master Nov 12, 2022
@rtivital
Copy link
Member

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

Successfully merging this pull request may close these issues.

None yet

2 participants