-
Notifications
You must be signed in to change notification settings - Fork 10
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
SQFormScrollableCard truncate title #550
Comments
My thoughts on this are that I think it could be accomplished with some minor CSS adjustments to the title. I'm curious if anyone has some thoughts on if this should be optional? I was thinking if we were to make the truncating of the title optional, we could have a new prop, maybe something like 'shouldTruncateTitle" that if true adds the required CSS, or maybe we don't even need that and the title should always just truncate if its larger than the container. I'm curious to what the team thinks about that |
Can you post a screenshot of the issue? |
To your first point, yes! I believe this particular screenshot may be of one of the earlier views in the admin project, the newer ones have since nixed that "Details >" portion of it, and so I believe eventually all of the old views will get a small refactor to remove that portion of the title. And perfect, tackling this with CSS I think maybe the simplest way to do it, I appreciate the feedback! |
The SC3 Admin project has a need for the title of the SQFormScrollableCard component to be truncated rather than wrapping it to a new line if the text is larger than the container.
The text was updated successfully, but these errors were encountered: