ReportPadding.tsx 431 B

123456789101112131415161718
  1. import { PropsWithChildren } from 'react'
  2. import { cn } from 'ui'
  3. /**
  4. * Standardized padding and width layout for non-custom reports
  5. */
  6. const ReportPadding = ({ children }: PropsWithChildren<{}>) => {
  7. return (
  8. <div
  9. className={cn(
  10. 'flex flex-col 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'
  11. )}
  12. >
  13. {children}
  14. </div>
  15. )
  16. }
  17. export default ReportPadding