mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): make arrow icon rotate on boards list
This commit is contained in:
parent
4e49689d46
commit
d7a5fe2805
@ -91,7 +91,12 @@ export const BoardsList = ({ isPrivate }: Props) => {
|
|||||||
{allowPrivateBoards ? (
|
{allowPrivateBoards ? (
|
||||||
<Button variant="unstyled" onClick={onToggle}>
|
<Button variant="unstyled" onClick={onToggle}>
|
||||||
<Flex gap="2" alignItems="center">
|
<Flex gap="2" alignItems="center">
|
||||||
<Icon boxSize="5" as={isOpen ? PiCaretDownBold : PiCaretRightBold} fill="base.500" />
|
<Icon
|
||||||
|
boxSize={4}
|
||||||
|
as={PiCaretDownBold}
|
||||||
|
transform={isOpen ? undefined : 'rotate(-90deg)'}
|
||||||
|
fill="base.500"
|
||||||
|
/>
|
||||||
<Text fontSize="sm" fontWeight="semibold" userSelect="none" color="base.500">
|
<Text fontSize="sm" fontWeight="semibold" userSelect="none" color="base.500">
|
||||||
{boardListTitle}
|
{boardListTitle}
|
||||||
</Text>
|
</Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user