mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
* improve some studio mobile layouts * improve some studio mobile layouts * improve settings * assistant mobile * assistant mobile * assistant mobile * responsive formlayout and new project layout * improve dashboard pages headers * improve dashboard auth pages * mobile org settings * mobile billing fixes * adjust paused project container height * remove comments * triggers * leftovers * ai assistant * fix errors * remove 16px input size * fix test * merge access tokens settings page conflicsts * smol integrations here and there
15 lines
455 B
TypeScript
15 lines
455 B
TypeScript
import { cn } from 'ui'
|
|
|
|
function FormsContainer(props: { children: React.ReactNode; header?: string; className?: string }) {
|
|
return (
|
|
<div
|
|
className={cn('mx-auto max-w-full xl:max-w-4xl px-4 md:px-5 pt-12 pb-20', props.className)}
|
|
>
|
|
{props.header && <h1 className="text-foreground mb-8 text-3xl">{props.header}</h1>}
|
|
<div className="space-y-12 md:space-y-20">{props.children}</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export { FormsContainer }
|