1
- import { Box , Button , Flex , Grid , Heading , Text } from '@invoke-ai/ui-library' ;
1
+ import { Box , Button , Flex , Grid , Heading , Icon , Text } from '@invoke-ai/ui-library' ;
2
2
import ScrollableContent from 'common/components/OverlayScrollbars/ScrollableContent' ;
3
3
import { useStarterBundleInstall } from 'features/modelManagerV2/hooks/useStarterBundleInstall' ;
4
4
import { setInstallModelsTabByName } from 'features/modelManagerV2/store/installModelsStore' ;
@@ -80,55 +80,34 @@ export const LaunchpadForm = memo(() => {
80
80
< Button
81
81
onClick = { navigateToUrlTab }
82
82
variant = "outline"
83
- h = "auto"
84
- minH = { 12 }
85
83
p = { 4 }
86
84
textAlign = "left"
87
- justifyContent = "flex-start"
88
- alignItems = "flex-start"
89
85
flexDir = "column"
90
86
gap = { 2 }
91
- borderRadius = "lg"
92
- whiteSpace = "normal"
87
+ h = "unset"
93
88
>
94
- < Flex alignItems = "center" gap = { 2 } w = "full" >
95
- < Box color = "base.300" flexShrink = { 0 } >
96
- < PiLinkBold size = { 24 } />
97
- </ Box >
98
- < Heading size = "sm" color = "base.100" noOfLines = { 2 } >
89
+ < Flex alignItems = "center" gap = { 4 } w = "full" >
90
+ < Icon as = { PiLinkBold } boxSize = { 8 } color = "base.300" />
91
+ < Heading size = "sm" color = "base.100" >
99
92
{ t ( 'modelManager.urlOrLocalPath' ) }
100
93
</ Heading >
101
94
</ Flex >
102
- < Text
103
- fontSize = "sm"
104
- color = "base.400"
105
- lineHeight = "1.4"
106
- flex = "1"
107
- whiteSpace = "normal"
108
- wordBreak = "break-word"
109
- >
95
+ < Text fontSize = "sm" lineHeight = "1.4" flex = "1" whiteSpace = "normal" wordBreak = "break-word" >
110
96
{ t ( 'modelManager.launchpad.urlDescription' ) }
111
97
</ Text >
112
98
</ Button >
113
99
< Button
114
100
onClick = { navigateToHuggingFaceTab }
115
101
variant = "outline"
116
- h = "auto"
117
- minH = { 12 }
118
102
p = { 4 }
119
103
textAlign = "left"
120
- justifyContent = "flex-start"
121
- alignItems = "flex-start"
122
104
flexDir = "column"
123
105
gap = { 2 }
124
- borderRadius = "lg"
125
- whiteSpace = "normal"
106
+ h = "unset"
126
107
>
127
- < Flex alignItems = "center" gap = { 2 } w = "full" >
128
- < Box color = "base.300" flexShrink = { 0 } >
129
- < SiHuggingface size = { 24 } />
130
- </ Box >
131
- < Heading size = "sm" color = "base.100" noOfLines = { 2 } >
108
+ < Flex alignItems = "center" gap = { 4 } w = "full" >
109
+ < Icon as = { SiHuggingface } boxSize = { 8 } color = "base.300" />
110
+ < Heading size = "sm" color = "base.100" >
132
111
{ t ( 'modelManager.huggingFace' ) }
133
112
</ Heading >
134
113
</ Flex >
@@ -146,22 +125,15 @@ export const LaunchpadForm = memo(() => {
146
125
< Button
147
126
onClick = { navigateToScanFolderTab }
148
127
variant = "outline"
149
- h = "auto"
150
- minH = { 12 }
151
128
p = { 4 }
152
129
textAlign = "left"
153
- justifyContent = "flex-start"
154
- alignItems = "flex-start"
155
130
flexDir = "column"
156
131
gap = { 2 }
157
- borderRadius = "lg"
158
- whiteSpace = "normal"
132
+ h = "unset"
159
133
>
160
- < Flex alignItems = "center" gap = { 2 } w = "full" >
161
- < Box color = "base.300" flexShrink = { 0 } >
162
- < PiFolderOpenBold size = { 24 } />
163
- </ Box >
164
- < Heading size = "sm" color = "base.100" noOfLines = { 2 } >
134
+ < Flex alignItems = "center" gap = { 4 } w = "full" >
135
+ < Icon as = { PiFolderOpenBold } boxSize = { 8 } color = "base.300" />
136
+ < Heading size = "sm" color = "base.100" >
165
137
{ t ( 'modelManager.scanFolder' ) }
166
138
</ Heading >
167
139
</ Flex >
0 commit comments