Skip to content

fix(chip) styles for improved layout and responsiveness.#1588

Merged
simeonoff merged 3 commits intomasterfrom
mpopov/chip/suffix-prefix-ellipsis
Feb 27, 2025
Merged

fix(chip) styles for improved layout and responsiveness.#1588
simeonoff merged 3 commits intomasterfrom
mpopov/chip/suffix-prefix-ellipsis

Conversation

@desig9stein
Copy link
Copy Markdown
Contributor

@desig9stein desig9stein commented Feb 26, 2025

Closes: #1583

Replaces flex with grid to mathc angular implementation and to make ellipsis work. Simplifies margin logic by using gap and removes redundant parts' styles. Adds ellipsis() to truncate text and sets a max width for slotted content to match angular behavior.

Replaces flex with grid to mathc angular implementation and to make ellipsis work. Simplifies margin logic by using `gap` and removes redundant parts' styles. Adds `ellipsis()` to truncate text and sets a max width for slotted content to match angular behavior.
Comment thread src/components/chip/themes/chip.base.scss Outdated
@simeonoff simeonoff merged commit f200409 into master Feb 27, 2025
@simeonoff simeonoff deleted the mpopov/chip/suffix-prefix-ellipsis branch February 27, 2025 08:03
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.

[Bug]: Chip long suffix and prefix wrap on 2 lines

2 participants