From 1831ed620fa104fa4ad06bd80c389d866f5b6f66 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 24 Jul 2024 13:18:34 +1000 Subject: [PATCH] fix(ui): gallery tabs layout --- .../features/gallery/components/Gallery.tsx | 64 ++++++++++--------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/invokeai/frontend/web/src/features/gallery/components/Gallery.tsx b/invokeai/frontend/web/src/features/gallery/components/Gallery.tsx index e8fc983e47..12202a30ab 100644 --- a/invokeai/frontend/web/src/features/gallery/components/Gallery.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/Gallery.tsx @@ -1,5 +1,16 @@ import type { ChakraProps } from '@invoke-ai/ui-library'; -import { Box, Collapse, Flex, IconButton, Tab, TabList, Tabs, Text, useDisclosure } from '@invoke-ai/ui-library'; +import { + Box, + Collapse, + Flex, + IconButton, + Spacer, + Tab, + TabList, + Tabs, + Text, + useDisclosure, +} from '@invoke-ai/ui-library'; import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import { galleryViewChanged, searchTermChanged } from 'features/gallery/store/gallerySlice'; import type { CSSProperties } from 'react'; @@ -54,35 +65,28 @@ export const Gallery = () => { const boardName = useBoardName(selectedBoardId); return ( - - - - {boardName} - - - - - - {t('parameters.images')} - - - {t('gallery.assets')} - - - - - : } - variant="link" - /> - - - + + + + + {boardName} + + + + {t('parameters.images')} + + + {t('gallery.assets')} + + : } + variant="link" + /> + +