-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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] Multiselect: match styles of TextInput #2154
Conversation
appearance: 'none', | ||
color: 'inherit', | ||
lineHeight: `${theme.fn.size({ size, sizes: INPUT_SIZES }) - 2}px`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the same way the line height is calculated in the Input styles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will in work correctly is MultiSelect has multiple lines? It happens when there are a lot of items selected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! |
Fixes differences between
Multiselect
andTextInput
styles.Chrome:

Edge:

Firefox:

Same height (30px for XS):

Resolves #1962