2
0

fix: 💄 1-line truncated texts

This commit is contained in:
Baptiste Arnaud
2022-06-18 07:58:51 +02:00
parent 283509ed59
commit e4ad23c2b9
14 changed files with 15 additions and 15 deletions

View File

@ -39,7 +39,7 @@ export const DropdownList = <T,>({
textAlign="left"
{...props}
>
<chakra.span noOfLines={0} display="block">
<chakra.span noOfLines={1} display="block">
{(currentItem ?? placeholder) as unknown as ReactNode}
</chakra.span>
</MenuButton>