mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
refactor(web/menu): improve list menu text alignment
This commit is contained in:
@@ -39,10 +39,15 @@ const ListItem = forwardRef<Array<HTMLDivElement | null>, Props>(({ item, index,
|
|||||||
<Text>{item.value[scrollIndex]}</Text>
|
<Text>{item.value[scrollIndex]}</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
<FontAwesomeIcon icon="arrows-left-right" fontSize={20} color="#909296" />
|
<Stack direction="row" spacing="sm" mr={3}>
|
||||||
|
<FontAwesomeIcon icon="chevron-left" fontSize={16} color="#909296" />
|
||||||
|
<FontAwesomeIcon icon="chevron-right" fontSize={16} color="#909296" />
|
||||||
|
</Stack>
|
||||||
</Flex>
|
</Flex>
|
||||||
) : (
|
) : (
|
||||||
item.label
|
<Flex alignItems="center" height="100%">
|
||||||
|
<Text>{item.label}</Text>
|
||||||
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user