@@ -120,7 +120,7 @@ const HelmTemplate: FC = () => {
120120 return (
121121 < div className = "flex h-[calc(100%-56px)] w-full justify-center overflow-y-auto scrollbar-thin" >
122122 < form onSubmit = { handleForm } className = "h-full w-full max-w-[768px]" >
123- < div className = "mb-4 flex w-full flex-col " >
123+ < div className = "flex flex-col w-full mb-4 " >
124124 < label htmlFor = "api_version" className = "mb-1" >
125125 Api Version
126126 </ label >
@@ -129,11 +129,11 @@ const HelmTemplate: FC = () => {
129129 placeholder = "2"
130130 value = { version }
131131 onChange = { ( e ) => setVersion ( e . target . value ) }
132- className = "w-full rounded-md px-3 py-2 outline-none"
132+ className = "w-full px-3 py-2 rounded-md outline-none"
133133 />
134134 </ div >
135135 < h1 className = "mb-4 text-2xl font-bold" > Pods</ h1 >
136- < div className = "mb-4 flex flex-col" >
136+ < div className = "flex flex-col mb-4 " >
137137 < label htmlFor = "pods_name" className = "mb-1" >
138138 Name
139139 </ label >
@@ -142,10 +142,10 @@ const HelmTemplate: FC = () => {
142142 placeholder = "web"
143143 value = { name }
144144 onChange = { ( e ) => setName ( e . target . value ) }
145- className = "w-full rounded-md px-3 py-2 outline-none"
145+ className = "w-full px-3 py-2 rounded-md outline-none"
146146 />
147147 </ div >
148- < div className = "mb-4 flex flex-col" >
148+ < div className = "flex flex-col mb-4 " >
149149 < label htmlFor = "pods_image" className = "mb-1" >
150150 Image
151151 </ label >
@@ -154,10 +154,10 @@ const HelmTemplate: FC = () => {
154154 placeholder = "nginx"
155155 value = { image }
156156 onChange = { ( e ) => setImage ( e . target . value ) }
157- className = "w-full rounded-md px-3 py-2 outline-none"
157+ className = "w-full px-3 py-2 rounded-md outline-none"
158158 />
159159 </ div >
160- < div className = "mb-4 flex flex-col" >
160+ < div className = "flex flex-col mb-4 " >
161161 < label htmlFor = "pods_target_port" className = "mb-1" >
162162 Target Port
163163 </ label >
@@ -166,10 +166,10 @@ const HelmTemplate: FC = () => {
166166 placeholder = "80"
167167 value = { targetPort }
168168 onChange = { ( e ) => setTargetPort ( e . target . value ) }
169- className = "w-full rounded-md px-3 py-2 outline-none"
169+ className = "w-full px-3 py-2 rounded-md outline-none"
170170 />
171171 </ div >
172- < div className = "mb-2 flex flex-col" >
172+ < div className = "flex flex-col mb-2 " >
173173 < label htmlFor = "pods_replicas" className = "mb-1" >
174174 Replicas
175175 </ label >
@@ -178,31 +178,31 @@ const HelmTemplate: FC = () => {
178178 placeholder = "1"
179179 value = { replicas }
180180 onChange = { ( e ) => setReplicas ( e . target . value ) }
181- className = "w-full rounded-md px-3 py-2 outline-none"
181+ className = "w-full px-3 py-2 rounded-md outline-none"
182182 />
183183 </ div >
184184 < h2 className = "mb-2 text-lg font-bold" > Persistence</ h2 >
185- < div className = "mb-7 flex flex-col" >
185+ < div className = "flex flex-col mb-7 " >
186186 < p className = "mb-1" > Size</ p >
187187 < div className = "flex items-center gap-3" >
188188 < input
189189 placeholder = "Value"
190190 type = "number"
191191 value = { sizeValue }
192192 onChange = { ( e ) => setSizeValue ( e . target . value ) }
193- className = "w-full gap-2 rounded-md px-3 py-2 outline-none"
193+ className = "w-full gap-2 px-3 py-2 rounded-md outline-none"
194194 />
195195 < Select
196196 placeholder = "Select..."
197197 options = { sizeOptions }
198198 value = { sizeType }
199199 onChange = { ( e ) => setSizeType ( e ) }
200- className = "h-10 w-full"
200+ className = "w-full h-10 "
201201 styles = { selectStyle }
202202 />
203203 </ div >
204204 </ div >
205- < div className = "mb-2 flex flex-col" >
205+ < div className = "flex flex-col mb-2 " >
206206 < label className = "mb-1" > Access Modes</ label >
207207 < Select
208208 placeholder = "Select..."
@@ -212,11 +212,11 @@ const HelmTemplate: FC = () => {
212212 styles = { selectStyle }
213213 />
214214 </ div >
215- < div className = "mb-2 mt-5 flex items-center " >
215+ < div className = "flex items-center mt-5 mb-2 " >
216216 < h3 className = "text-lg font-bold" > Environments</ h3 >
217217 < button
218218 type = "button"
219- className = "btn btn-xs ml-4 "
219+ className = "ml-4 btn btn-xs"
220220 onClick = { handleAddEnvironment }
221221 >
222222 Add < Plus className = "size-3" />
@@ -225,7 +225,7 @@ const HelmTemplate: FC = () => {
225225 < div className = "grid grid-cols-2 gap-4" >
226226 { environments . map ( ( env , index ) => (
227227 < div
228- className = "flex items-center divide-x divide-gray-500 rounded-md border border-gray-500 "
228+ className = "flex items-center border border-gray-500 divide-x divide-gray-500 rounded-md"
229229 key = { index }
230230 >
231231 < input
@@ -234,7 +234,7 @@ const HelmTemplate: FC = () => {
234234 onChange = { ( e ) =>
235235 handleEnvironmentChange ( index , 'name' , e . target . value )
236236 }
237- className = "h-12 w-full rounded-s-md px-2 outline-none"
237+ className = "w-full h-12 px-2 outline-none rounded-s-md "
238238 />
239239 < input
240240 placeholder = { env . valuePlaceholder }
@@ -257,7 +257,7 @@ const HelmTemplate: FC = () => {
257257 </ div >
258258 ) ) }
259259 </ div >
260- < div className = "mb-2 mt-7 flex justify-between " >
260+ < div className = "flex justify-between mb-2 mt-7" >
261261 < label htmlFor = "pods_stateless" className = "mb-1" >
262262 Stateless
263263 </ label >
@@ -271,7 +271,7 @@ const HelmTemplate: FC = () => {
271271 />
272272 </ div >
273273 < h4 className = "mt-5 text-lg font-bold" > Ingress</ h4 >
274- < div className = "mb-2 mt-3 flex justify-between " >
274+ < div className = "flex justify-between mt-3 mb-2 " >
275275 < label htmlFor = "pods_ingress_enabled" className = "mb-1" >
276276 Enabled
277277 </ label >
@@ -284,7 +284,7 @@ const HelmTemplate: FC = () => {
284284 onChange = { ( ) => setIngress ( ! ingress ) }
285285 />
286286 </ div >
287- < div className = "mb-2 mt-3 flex flex-col " >
287+ < div className = "flex flex-col mt-3 mb-2 " >
288288 < label htmlFor = "pods_ingress_host" className = "mb-1" >
289289 Host
290290 </ label >
@@ -293,13 +293,13 @@ const HelmTemplate: FC = () => {
293293 placeholder = "www.example.com"
294294 value = { ingressHost }
295295 onChange = { ( e ) => setIngressHost ( e . target . value ) }
296- className = "w-full rounded-md px-3 py-2 outline-none"
296+ className = "w-full px-3 py-2 rounded-md outline-none"
297297 />
298298 </ div >
299299 < button
300300 type = "submit"
301301 disabled = { helmTemplatePending }
302- className = "btn mt-3 w-full bg-orange-base text-white hover:bg-orange-base/70 disabled:bg-orange-base/50 disabled:text-white/70"
302+ className = "w-full mt-3 text-white btn bg-orange-base hover:bg-orange-base/70 disabled:bg-orange-base/50 disabled:text-white/70"
303303 >
304304 { helmTemplatePending
305305 ? 'Generating...'
0 commit comments