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(VSelect): correct chips spacing for compact and comfortable #15770
fix(VSelect): correct chips spacing for compact and comfortable #15770
Conversation
7010a29
to
f66d088
Compare
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.
VFileInput needs this updated as well. In addition, make sure you check VAutocomplete and VCombobox since they both use VSelect as a base composable.
Use integer for density intervals in sass fixes vuetifyjs#15686
Add top and bottom margins for chips when used with compact or comfortable density. fixes vuetifyjs#15686
Here is the new playground to check VSelect, VFileInput, VAutocomplete and VCombobox, one can note that the correction on VSelect doesn't apply to VAutocomplete and VCombobox. I need to adapt these two components also. Details
|
Add top and bottom margins for chips when used with compact or comfortable density. fixes vuetifyjs#15686
Add top and bottom margins for chips when used with compact or comfortable density. fixes vuetifyjs#15686
Co-authored-by: John Leider <9064066+johnleider@users.noreply.github.com>
Description
Adapt the SASS bottom margin of the select's chips for compact (3px) and comfortable density (2px) in order to avoid the chip and select underline collision.
Motivation and Context
Visually the chips in select field with density compact and comfortable are hoverred by the underline of the select which is not nice.
fixes #15686
How Has This Been Tested?
Visually tested using the below playground.
Markup:
Types of changes
Checklist:
master
for bug fixes and documentation updates,dev
for new features and backwards compatible changes andnext
for non-backwards compatible changes).