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
style(ui): add dividers to the queue lists and align them with the tabs
Josh Corbettadea736cf8ee
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/NowNextSection.tsx b/invokeai/frontend/webv2/src/features/queue/ui/NowNextSection.tsxindex 3776d24920..ab0160385f 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/NowNextSection.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/NowNextSection.tsx@@ -19,9 +19,10 @@ export const CurrentBatchSection = ({ revealRequest = null }: { revealRequest?:}return (- <Stack gap="1">+ // Row surfaces bleed into the widget padding so their content lines up with the controls above.+ <Stack gap="1" mx="-2"><ListSectionHeader count={count} label={t('widgets.queue.currentBatch')} />- <ListStack label={t('widgets.queue.currentBatch')}>+ <ListStack dividers label={t('widgets.queue.currentBatch')}>{items.map((item) => (<QueueItemRowkey={item.id}diff --git a/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx b/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsxindex 4b62dc7e18..ca470cda37 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx@@ -44,6 +44,8 @@ export const RecentSection = ({aria-labelledby={segmentTabsTabId(QUEUE_FILTER_TABS_ID, filter)}gap="1"id={segmentTabsPanelId(QUEUE_FILTER_TABS_ID)}+ // Row surfaces bleed into the widget padding so their content lines up with the tabs above.+ mx="-2"role="tabpanel">{cannotReveal && revealRequest ? (@@ -59,7 +61,7 @@ export const RecentSection = ({: t('common.nothingHereYet')}</Text>) : (- <ListStack label={t('common.recent')}>+ <ListStack dividers label={t('common.recent')}>{filtered.map((item) => (<QueueItemRowkey={item.id}