Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(webv2): compact gallery toolbar controls
joshistoast75bf9ee5359a
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsxindex ee3318c12f..b6e96cc665 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx@@ -34,7 +34,7 @@ export const GalleryItemSortMenu = () => {flexShrink={0}fontSize="xs"gap="1"- size="xs"+ size="2xs"variant="ghost">{imageOrderDir === 'DESC' ? t('widgets.gallery.newest') : t('widgets.gallery.oldest')}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryViewTabs.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryViewTabs.tsxindex 7f39435b79..371fad7cd2 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryViewTabs.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryViewTabs.tsx@@ -38,7 +38,8 @@ export const GalleryViewTabs = () => {return (<SegmentGroup.Rootaria-label={t('common.view')}- size="xs"+ // `2xs` is a repo recipe extension the generated Chakra types don't know.+ size={'2xs' as 'xs'}value={gallery.galleryView}onValueChange={handleViewChange}>