Closed Tlahey closed 1 year ago
Hello,
We wants to worked with the VtmnListItem but in one case, we want to ellipsis the content of the list item (in order to avoid multi lines).
With the truncate class from tailwind, the component doesn't render correctly.
This side effect can be avoid by adding a position relative on the class vtmn-list_text. This makes it easier to manage the content/text displayed.
NB: It is also possible to make an workaround by setup a position relative on the item itself.
Proposal :
What do you think ? Expected behaviour with position relative + truncate with absolute
Edit: It could have breaking changes if the developper has used a position relative on the ListItem.
Hello,
We wants to worked with the VtmnListItem but in one case, we want to ellipsis the content of the list item (in order to avoid multi lines).
With the truncate class from tailwind, the component doesn't render correctly.
This side effect can be avoid by adding a position relative on the class vtmn-list_text. This makes it easier to manage the content/text displayed.
NB: It is also possible to make an workaround by setup a position relative on the item itself.
Proposal :
What do you think ? Expected behaviour with position relative + truncate with absolute
Edit: It could have breaking changes if the developper has used a position relative on the ListItem.