Files
supabase/apps/studio/components/ui/Forms/FormsContainer.tsx
T
Francesco Sansalvadore ecd181bcd9 studio mobile v2 (#32630)
* 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
2025-01-17 19:07:35 +01:00

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 }