mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
* Make the resource banner sticky. * Remove main from all layouts that are using it. * Update apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com> * Fix the whitespace. * Fix some of the pages with broken layouts. * Fix a merge error. * Fix the layout of the SQL editor. --------- Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
/**
|
|
* Standardized padding and width layout for non-custom reports
|
|
*/
|
|
const ReportPadding = ({ children }: PropsWithChildren<{}>) => (
|
|
<div className="flex flex-col gap-4 px-5 py-6 mx-auto 1xl:px-28 lg:px-16 xl:px-24 2xl:px-32 w-full">
|
|
{children}
|
|
</div>
|
|
)
|
|
export default ReportPadding
|