File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
components/Tools/Image/ImageResizer Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ const ImageResizer = (): JSX.Element => {
168168 >
169169 { ( { isSubmitting } ) => (
170170 < Form >
171- < Flex alignContent = "center" verticalAlign = "center" my = { 4 } >
171+ < Flex alignContent = "center" verticalAlign = "center" mt = { 4 } mb = { 2 } >
172172 < HStack lineHeight = "40px" >
173173 < FormControl >
174174 < Input
@@ -198,17 +198,18 @@ const ImageResizer = (): JSX.Element => {
198198 < ErrorMessage name = "height" />
199199 </ FormControl >
200200 </ HStack >
201- < Button
202- ml = { 2 }
203- p = { 2 }
204- isLoading = { isSubmitting }
205- type = "submit"
206- disabled = { ! ogImage ?. src }
207- >
208- Resize
209- </ Button >
210201 </ Flex >
211- < Alert status = "info" mb = { 4 } borderRadius = { 8 } >
202+ < Button
203+ my = { { base : 2 , md : 4 } }
204+ p = { 2 }
205+ isLoading = { isSubmitting }
206+ type = "submit"
207+ disabled = { ! ogImage ?. src }
208+ w = { { base : "100%" , md : "auto" } }
209+ >
210+ Resize
211+ </ Button >
212+ < Alert status = "info" mb = { 4 } mt = { 2 } borderRadius = { 8 } >
212213 < AlertIcon />
213214 Images can only be downscaled
214215 </ Alert >
You can’t perform that action at this time.
0 commit comments