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

Add TruncatedText component #932

Merged
merged 9 commits into from
Nov 27, 2020

Conversation

ghost
Copy link

@ghost ghost commented Nov 7, 2020

I've created a TruncatedText component which truncates text to a configurable line count and shows a tooltip with the complete text when it is hovered for a configurable amount of time. I've switched the majority of cases of text-truncate over to using the TruncatedText component so we're consistent.

I removed titles from tab panels where necessary since it causes the title to show up anywhere inside the pane when something is hovered.

image

Resolves #767
Resolves #888

@ghost ghost added the feature Pull requests that add a new feature label Nov 7, 2020
@ghost ghost added this to the Version 0.5.0 milestone Nov 7, 2020
@ghost ghost added improvement Something needed tweaking. and removed feature Pull requests that add a new feature labels Nov 26, 2020
@WithoutPants WithoutPants merged commit a45c111 into stashapp:develop Nov 27, 2020
Tweeticoats pushed a commit to Tweeticoats/stash that referenced this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add title attribute to scene card [Feature] Show full text on hover for truncated text
2 participants