KEMBAR78
fix: multi-select-combo-box-chip layout and forced color mode by jouni · Pull Request #10164 · vaadin/web-components · GitHub
Skip to content

Conversation

@jouni
Copy link
Member

@jouni jouni commented Sep 12, 2025

Better alignment of the remove button, and compensation for the border width, so that the chip height stays the same as the text input height.

Also, if the component height is explicitly set, keep the chips and the text input at the top, similarly to text area.

@sonarqubecloud
Copy link

background: var(--vaadin-chip-background, var(--vaadin-background-container));
color: var(--vaadin-chip-color, var(--vaadin-color));
font-size: var(--vaadin-chip-font-size, 0.875em);
font-size: max(11px, var(--vaadin-chip-font-size, 0.875em));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: max(11px, 0.875em) is also used elsewhere, could probably be refactored later if needed.

@web-padawan web-padawan merged commit 609b1af into main Sep 12, 2025
9 checks passed
@web-padawan web-padawan deleted the mscb-chip-base-styles branch September 12, 2025 14:27
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants