-
Notifications
You must be signed in to change notification settings - Fork 87
refactor!: Base combo box styles #8932
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
base: base-styles
Are you sure you want to change the base?
Conversation
padding: var(--vaadin-item-padding, var(--_vaadin-padding-container)); | ||
} | ||
|
||
:host([focus-ring]) { |
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 won't apply to combo-box items since we use focused
attribute there, not focus-ring
.
Maybe this could be aligned to make reusing styles easier. @jouni WDYT?
} | ||
|
||
:host([hidden]) { | ||
display: none; |
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.
Let's use !important
for consistency with other components:
display: none; | |
display: none !important; |
|
New and changed base style properties
--_vaadin-icon-checkmark
--_vaadin-icon-chevron-down
New Combo Box base style
Supported custom properties
--vaadin-item-border-radius
--vaadin-item-gap
--vaadin-item-height
--vaadin-item-overlay-padding
--vaadin-item-padding