-
Notifications
You must be signed in to change notification settings - Fork 87
refactor!: Base select styles #8944
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
|
:host { | ||
position: relative; | ||
::slotted([slot='value']) { | ||
flex: 1; |
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.
IIRC setting flex-grow
should be enough, no need to change this.
text-overflow: ellipsis; | ||
width: 100%; | ||
line-height: inherit; | ||
display: contents; |
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.
We could simply update vaadin-select-value-button
template to remove corresponding parts altogether since we are making a breaking change in V25 anyway in terms of styling.
New and changed base style properties
--_vaadin-icon-checkmark
--_vaadin-icon-chevron-down
New Select base style
Supported custom properties
--vaadin-divider-color
<hr>
).--vaadin-item-border-radius
--vaadin-item-gap
--vaadin-item-height
--vaadin-item-overlay-padding
--vaadin-item-padding