Skip to content

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.

fix(gallery): even out the spacing around the header label's slash

joshistoast328eeb308f23
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx
index dc05feee92..173a3825db 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx
@@ -56,7 +56,9 @@ export const GalleryWidgetLabel = ({ region }: GalleryChromeProps) => {
return (
<HStack flex="1" gap="1" minW="0" pe={region === 'center' ? undefined : '2'}>
{region === 'center' ? null : (
- <Text flexShrink={0} fontSize="xs" fontWeight="700">
+ // `pe` evens out the "/": the board button's own start padding already
+ // holds the name 8px off the slash, so the title matches it.
+ <Text flexShrink={0} fontSize="xs" fontWeight="700" pe="2">
{t('widgets.labels.gallery')}
</Text>
)}