Removed unnecessary wrapper elements and improving readability.
This commit is contained in:
parent
3ad0002bbb
commit
0a897e663c
@ -461,16 +461,9 @@ const SpotlightProvider = ({ children }) => {
|
|||||||
align='center'
|
align='center'
|
||||||
justify='space-between'
|
justify='space-between'
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex gap={'small'} align='center'>
|
||||||
gap={'small'}
|
{Icon ? <Icon style={{ fontSize: '20px' }} /> : null}
|
||||||
style={{ marginBottom: '2px' }}
|
|
||||||
align='center'
|
|
||||||
>
|
|
||||||
<Text>
|
|
||||||
{Icon ? (
|
|
||||||
<Icon style={{ fontSize: '20px' }} />
|
|
||||||
) : null}
|
|
||||||
</Text>
|
|
||||||
{item.name ? (
|
{item.name ? (
|
||||||
<Text ellipsis style={{ maxWidth: 170 }}>
|
<Text ellipsis style={{ maxWidth: 170 }}>
|
||||||
{item.name}
|
{item.name}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user