fixed account-setting mobile style

This commit is contained in:
Zai Shi 2024-09-19 13:57:44 -07:00
parent 9168c3162f
commit 2d4eab798a

View File

@ -103,8 +103,8 @@ export function AccountSettings(props: {
function Section(props: { title: string, description?: string, children: React.ReactNode }) {
return (
<div className='flex'>
<div className='flex-1 flex flex-col justify-center'>
<div className='flex flex-col sm:flex-row gap-2'>
<div className='sm:flex-1 flex flex-col justify-center'>
<Typography className='font-medium'>
{props.title}
</Typography>
@ -112,7 +112,7 @@ function Section(props: { title: string, description?: string, children: React.R
{props.description}
</Typography>}
</div>
<div className='flex-1 flex flex-col gap-2'>
<div className='sm:flex-1 flex flex-col gap-2'>
{props.children}
</div>
</div>