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

Ellipsis ending? #492

Closed
sizhe-eb opened this issue Jun 15, 2021 · 3 comments
Closed

Ellipsis ending? #492

sizhe-eb opened this issue Jun 15, 2021 · 3 comments
Labels

Comments

@sizhe-eb
Copy link

Is there any way display on one line with an ellipsis ending?

@jsamr
Copy link
Collaborator

jsamr commented Jun 15, 2021

Hi @sizhe-eb!

Please note that this kind of question if best suited for Stack Overflow or our Discord channel, but I'll give you an answer here ;-)

The short answer is yes, but it will depend on how you identify which element should have its text limited to one line. Is it a specific tag? Children of one tag? Elements identified by class names?

In this following link, you'll find an example where every text child of a <p> tag is limited to one line. #243 (comment)

@sizhe-eb
Copy link
Author

sizhe-eb commented Jun 16, 2021

@jsamr Really thanks for your response, it's every helpful

@jsamr
Copy link
Collaborator

jsamr commented Jun 17, 2021

@sizhe-eb Cool! I'm going to close now, best luck with your work.

@jsamr jsamr closed this as completed Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants