mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak board search UI
This commit is contained in:
parent
7caaf40835
commit
1fee08639d
@ -67,14 +67,13 @@ const BoardsSearch = () => {
|
|||||||
data-testid="board-search-input"
|
data-testid="board-search-input"
|
||||||
/>
|
/>
|
||||||
{boardSearchText && boardSearchText.length && (
|
{boardSearchText && boardSearchText.length && (
|
||||||
<InputRightElement>
|
<InputRightElement h="full" pe={2}>
|
||||||
<InvIconButton
|
<InvIconButton
|
||||||
onClick={clearBoardSearch}
|
onClick={clearBoardSearch}
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
aria-label={t('boards.clearSearch')}
|
aria-label={t('boards.clearSearch')}
|
||||||
opacity={0.5}
|
icon={<CloseIcon boxSize={3} />}
|
||||||
icon={<CloseIcon boxSize={2} />}
|
|
||||||
/>
|
/>
|
||||||
</InputRightElement>
|
</InputRightElement>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user