mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
import { cn } from 'ui'
|
|
|
|
/**
|
|
* Standardized padding and width layout for non-custom reports
|
|
*/
|
|
const ReportPadding = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
'flex flex-col flex-grow gap-4 px-5 py-6 mx-auto 1xl:px-28 lg:px-16 2xl:px-32 w-full @lg:px-6 @xl:px-22'
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
export default ReportPadding
|