mirror of
https://github.com/urbit/shrub.git
synced 2024-12-26 21:44:11 +03:00
groups: prevent long title from pushing buttons
This commit is contained in:
parent
9100b3c50c
commit
36afff608e
@ -154,7 +154,7 @@ export function GroupSwitcher(props: {
|
|||||||
>
|
>
|
||||||
<Row p={2} alignItems="center">
|
<Row p={2} alignItems="center">
|
||||||
<Row alignItems="center" mr={1} flex='1'>
|
<Row alignItems="center" mr={1} flex='1'>
|
||||||
<Text overflow='hidden' display='inline-block' maxWidth='144px' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre'}}>{title}</Text>
|
<Text overflow='hidden' display='inline-block' maxWidth='131px' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre'}}>{title}</Text>
|
||||||
</Row>
|
</Row>
|
||||||
<Icon size='12px' ml='1' mt="0px" display="inline-block" icon="ChevronSouth" />
|
<Icon size='12px' ml='1' mt="0px" display="inline-block" icon="ChevronSouth" />
|
||||||
</Row>
|
</Row>
|
||||||
|
Loading…
Reference in New Issue
Block a user