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(generation): square preset rows to the 28px control box
Josh Corbett2e5234ded708
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsxindex fcc555ade2..5cc2c0b80d 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx@@ -86,12 +86,11 @@ const PresetRow = ({aria-current={isActive || undefined}asChildflex="1"- h="auto"+ h="7"justifyContent="start"minW="0"px="2"- py="1.5"- rounded="sm"+ rounded="control"_hover={isActive ? undefined : PRESET_ROW_HOVER_PROPS}><button type="button" onClick={handleApply}>@@ -104,7 +103,7 @@ const PresetRow = ({<Tooltip content={t('common.rename')}><IconButtonaria-label={t('widgets.generate.renamePresetNamed', { name: preset.label })}- size="2xs"+ size="xs"variant="ghost"onClick={handleRename}>@@ -115,7 +114,7 @@ const PresetRow = ({<IconButtonaria-label={t('widgets.generate.deletePresetNamed', { name: preset.label })}colorPalette="red"- size="2xs"+ size="xs"variant="ghost"onClick={handleDelete}>