Skip to content

Commit 05167df

Browse files
feat(ui): use existing design language for install model bundle buttons
1 parent c090ea7 commit 05167df

File tree

1 file changed

+6
-45
lines changed
  • invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/LaunchpadForm

1 file changed

+6
-45
lines changed

invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/LaunchpadForm/LaunchpadForm.tsx

Lines changed: 6 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -165,53 +165,14 @@ export const LaunchpadForm = memo(() => {
165165
{t('modelManager.launchpad.bundleDescription')}
166166
</Text>
167167
<Grid templateColumns="repeat(auto-fit, minmax(180px, 1fr))" gap={2}>
168-
<Button
169-
onClick={handleSD15BundleClick}
170-
variant="outline"
171-
h="auto"
172-
minH={10}
173-
p={3}
174-
textAlign="center"
175-
justifyContent="center"
176-
alignItems="center"
177-
borderRadius="lg"
178-
whiteSpace="normal"
179-
>
180-
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
181-
{t('modelManager.launchpad.stableDiffusion15')}
182-
</Text>
168+
<Button onClick={handleSD15BundleClick} variant="outline" p={6}>
169+
{t('modelManager.launchpad.stableDiffusion15')}
183170
</Button>
184-
<Button
185-
onClick={handleSDXLBundleClick}
186-
variant="outline"
187-
h="auto"
188-
minH={10}
189-
p={3}
190-
textAlign="center"
191-
justifyContent="center"
192-
alignItems="center"
193-
borderRadius="lg"
194-
whiteSpace="normal"
195-
>
196-
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
197-
{t('modelManager.launchpad.sdxl')}
198-
</Text>
171+
<Button onClick={handleSDXLBundleClick} variant="outline" p={6}>
172+
{t('modelManager.launchpad.sdxl')}
199173
</Button>
200-
<Button
201-
onClick={handleFluxBundleClick}
202-
variant="outline"
203-
h="auto"
204-
minH={10}
205-
p={3}
206-
textAlign="center"
207-
justifyContent="center"
208-
alignItems="center"
209-
borderRadius="lg"
210-
whiteSpace="normal"
211-
>
212-
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
213-
{t('modelManager.launchpad.fluxDev')}
214-
</Text>
174+
<Button onClick={handleFluxBundleClick} variant="outline" p={6}>
175+
{t('modelManager.launchpad.fluxDev')}
215176
</Button>
216177
</Grid>
217178
</Box>

0 commit comments

Comments
 (0)