fixed flex layout

This commit is contained in:
Anton Tranelis 2025-06-06 17:09:06 +02:00
parent 467fa6262e
commit 30069973e5
2 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ export function ProfileForm() {
<>
<MapOverlayPage
backdrop
className='tw:mx-4 tw:mt-4 tw:mb-4 tw:overflow-x-hidden tw:w-[calc(100%-32px)] tw:md:w-[calc(50%-32px)] tw:max-w-3xl tw:left-auto! tw:top-0 tw:bottom-0 tw:flex tw:flex-col'
className='tw:mx-4 tw:mt-4 tw:mb-4 tw:overflow-x-hidden tw:w-[calc(100%-32px)] tw:md:w-[calc(50%-32px)] tw:max-w-3xl tw:left-auto! tw:top-0 tw:bottom-0 tw:flex tw:flex-col tw:max-h-[calc(1200px)]'
>
<form
className='tw:flex tw:flex-col tw:flex-1 tw:min-h-0'
@ -178,7 +178,7 @@ export function ProfileForm() {
)
}}
>
<div className='tw:flex tw:flex-col tw:flex-1 tw:min-h-0'>
<div className='tw:flex tw:flex-col tw:flex-1'>
<FormHeader item={item} state={state} setState={setState} />
{template === 'onepager' && (
@ -204,7 +204,7 @@ export function ProfileForm() {
></TabsForm>
)}
<div className='tw:mt-4 tw:flex-none'>
<div className='tw:mb-4 tw:mt-6 tw:flex-none'>
<button
className={`${loading ? ' tw:loading tw:btn tw:float-right' : 'tw:btn tw:float-right'}`}
type='submit'

View File

@ -38,7 +38,7 @@ export const ProfileTextForm = ({
return (
<div
className={`tw:min-h-0 tw:flex tw:flex-col tw:mt-2 ${size === 'full' ? 'tw:flex-1' : 'tw:h-32 tw:flex-none'}`}
className={`tw:min-h-32 tw:flex tw:flex-col tw:mt-2 ${size === 'full' ? 'tw:flex-1' : 'tw:h-32 tw:flex-none'}`}
>
<div className='tw:flex tw:justify-between tw:items-center'>
<label