liferay / clay

A web implementation of the Lexicon Experience Language
http://clayui.com
Other
208 stars 483 forks source link

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

Closed pat270 closed 2 months ago

pat270 commented 3 months ago

…width

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

https://github.com/liferay-platform-experience/liferay-portal/pull/689

This will only fix the stacked tab item text. We will add the functionality mentioned in https://github.com/liferay/clay/pull/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

pat270 commented 2 months ago

@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