feat: trim text inside button
This commit is contained in:
@@ -249,7 +249,9 @@ export const BrowserWindow = () => {
|
|||||||
size="medium"
|
size="medium"
|
||||||
key={option.value}
|
key={option.value}
|
||||||
onClick={() => handleAttributeSelection(option.value)}
|
onClick={() => handleAttributeSelection(option.value)}
|
||||||
style={{ justifyContent: 'flex-start' }}
|
style={{ justifyContent: 'flex-start', whiteSpace: 'nowrap',
|
||||||
|
overflow: 'hidden',
|
||||||
|
textOverflow: 'ellipsis' }}
|
||||||
>
|
>
|
||||||
{option.label}
|
{option.label}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user