fix(ui): spacing issue w/ boards search

This commit is contained in:
psychedelicious 2024-07-24 12:50:36 +10:00
parent c4b3405bfa
commit ff1972fbb3
2 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@ const BoardsSearch = () => {
);
return (
<InputGroup pt={2}>
<InputGroup>
<Input
placeholder={t('boards.searchBoard')}
value={boardSearchText}

View File

@ -1,4 +1,4 @@
import { Button, Collapse, Divider, Flex, IconButton, useDisclosure } from '@invoke-ai/ui-library';
import { Box, Button, Collapse, Divider, Flex, IconButton, useDisclosure } from '@invoke-ai/ui-library';
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
import { GalleryHeader } from 'features/gallery/components/GalleryHeader';
import { boardSearchTextChanged } from 'features/gallery/store/gallerySlice';
@ -101,7 +101,9 @@ const ImageGalleryContent = () => {
>
<Flex flexDir="column" w="full" h="full">
<Collapse in={boardSearchDisclosure.isOpen} style={COLLAPSE_STYLES}>
<BoardsSearch />
<Box w="full" pt={2}>
<BoardsSearch />
</Box>
</Collapse>
<Divider pt={2} />
<BoardsListWrapper />