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

fix(@clayui/css): LPD-2001 c-prefers-expanded-text shouldn't use max-… #5864

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

pat270
Copy link
Member

@pat270 pat270 commented Aug 23, 2024

…width

https://liferay.atlassian.net/browse/LPD-2001

liferay-platform-experience/liferay-portal#689

This will only fix the stacked tab item text. We will add the functionality mentioned in #5622 in another pr. I wanted a CSS only solution, but it looks like we will need to implement in it in ClayTabs since we can't tell if tabs will break to new line. The tabs will look like the screenshot when expanded text and increased spacing.

tabs-will-look

Copy link
Member

@matuzalemsteles matuzalemsteles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! It makes sense to me, I think we can go through this quickly and work on it more carefully. If I'm not mistaken we have something similar to do in tabs but the solution is to consider wrapping the rest of the items that are overflowing and putting them inside a drop down. Maybe we can consider this too, but we will still need JS.

@pat270
Copy link
Member Author

pat270 commented Aug 27, 2024

@matuzalemsteles I agree, lmk if you want me to create another ticket to address the stacked tabs or dropdown issue.

Edit: I actually created one recently https://liferay.atlassian.net/browse/LPD-34737

@matuzalemsteles matuzalemsteles merged commit df43c39 into liferay:master Aug 28, 2024
4 checks passed
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