@@ -200,10 +200,10 @@ export const PropertyDetailView = ({
200200
201201 return (
202202 < FormProvider state = { form } >
203- < div className = "flex-col-0 h-full overflow-hidden" >
203+ < div className = "flex-col-0 h-full min-h-0 overflow-hidden px-1 sm:px-0 " >
204204 < form
205205 onSubmit = { event => { event . preventDefault ( ) ; form . submit ( ) } }
206- className = "flex-col-6 flex-1 overflow-y-auto"
206+ className = "flex flex -col flex-1 gap-6 overflow-y-auto sm:gap-6 "
207207 >
208208 < FormField < PropertyFormValues , 'name' >
209209 name = "name"
@@ -289,7 +289,7 @@ export const PropertyDetailView = ({
289289 < span className = "typography-title-md" >
290290 { translation ( 'selectOptions' ) }
291291 </ span >
292- < div className = "flex-col-2 min-h-64 max-h-64 overflow-y-auto" >
292+ < div className = "flex-col-2 min-h-48 max-h-64 sm:min -h-64 overflow-y-auto" >
293293 < FormObserverKey < PropertyFormValues , 'selectData' > formKey = "selectData" >
294294 { ( { value : selectData } ) => {
295295 return selectData ?. options . map ( ( option ) => (
@@ -445,8 +445,8 @@ export const PropertyDetailView = ({
445445 label = { translation ( 'archiveProperty' ) }
446446 >
447447 { ( { dataProps : { value, onValueChange } , focusableElementProps, interactionStates } ) => (
448- < div className = "flex-row -4 justify-between items-center" >
449- < div className = "flex-col-1" >
448+ < div className = "flex flex-col gap -4 sm:flex-row sm: justify-between sm: items-center" >
449+ < div className = "flex-col-1 min-w-0 " >
450450 < span className = "typography-title-md" >
451451 { translation ( 'archiveProperty' ) }
452452 </ span >
@@ -472,12 +472,12 @@ export const PropertyDetailView = ({
472472 </ form >
473473
474474 { ! isEditMode && (
475- < div className = "flex-row-0 pt-2 justify-end" >
475+ < div className = "flex flex -row pt-2 justify-stretch sm: justify-end" >
476476 < Button
477477 type = "submit"
478478 onClick = { ( ) => form . submit ( ) }
479479 disabled = { isLoading }
480- className = "w-fit"
480+ className = "min-h-11 w-full sm: w-fit"
481481 >
482482 { translation ( 'create' ) }
483483 </ Button >
0 commit comments