Skip to content

Commit 62b27d3

Browse files
Model Launchpad prettier
1 parent 60e2e9c commit 62b27d3

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

invokeai/frontend/web/src/features/modelManagerV2/hooks/useStarterBundleInstall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ export const useStarterBundleInstall = () => {
6262
);
6363

6464
return { installBundle, getModelsToInstall };
65-
};
65+
};

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

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,14 @@ export const LaunchpadForm = memo(() => {
9999
{t('modelManager.urlOrLocalPath')}
100100
</Heading>
101101
</Flex>
102-
<Text fontSize="sm" color="base.400" lineHeight="1.4" flex="1" whiteSpace="normal" wordBreak="break-word">
102+
<Text
103+
fontSize="sm"
104+
color="base.400"
105+
lineHeight="1.4"
106+
flex="1"
107+
whiteSpace="normal"
108+
wordBreak="break-word"
109+
>
103110
{t('modelManager.launchpad.urlDescription')}
104111
</Text>
105112
</Button>
@@ -125,7 +132,14 @@ export const LaunchpadForm = memo(() => {
125132
{t('modelManager.huggingFace')}
126133
</Heading>
127134
</Flex>
128-
<Text fontSize="sm" color="base.400" lineHeight="1.4" flex="1" whiteSpace="normal" wordBreak="break-word">
135+
<Text
136+
fontSize="sm"
137+
color="base.400"
138+
lineHeight="1.4"
139+
flex="1"
140+
whiteSpace="normal"
141+
wordBreak="break-word"
142+
>
129143
{t('modelManager.launchpad.huggingFaceDescription')}
130144
</Text>
131145
</Button>
@@ -151,7 +165,14 @@ export const LaunchpadForm = memo(() => {
151165
{t('modelManager.scanFolder')}
152166
</Heading>
153167
</Flex>
154-
<Text fontSize="sm" color="base.400" lineHeight="1.4" flex="1" whiteSpace="normal" wordBreak="break-word">
168+
<Text
169+
fontSize="sm"
170+
color="base.400"
171+
lineHeight="1.4"
172+
flex="1"
173+
whiteSpace="normal"
174+
wordBreak="break-word"
175+
>
155176
{t('modelManager.launchpad.scanFolderDescription')}
156177
</Text>
157178
</Button>

0 commit comments

Comments
 (0)