Skip to content
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

Allow CSS targeting on text #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fucata55
Copy link

@fucata55 fucata55 commented Oct 1, 2020

I have a use case to make the selected value in single selection to use ellipses when text overflowed. However, it's impossible to do that without ended up hiding the X button because the text is targeted with the . Wrapping {{item.text}} with allows it to be targeted by css
Despite my best effort to style it, the X button can't show in 1 line when text overflow happened
image

I have a use case to make the selected value in single selection to use ellipses when text overflowed. However, it's impossible to do that without ended up hiding the X button because the text is targeted with the <a>. Wrapping {{item.text}} with <span> allows it to be targeted by css
@jtotht
Copy link
Contributor

jtotht commented Aug 26, 2022

This has already been done in #304, this PR can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants