4
0
forked from crowetic/commerce

Improve page paddings

This commit is contained in:
paco 2020-10-08 12:36:00 -06:00
parent 5b597c6a2a
commit 791e8cf18f
No known key found for this signature in database
GPG Key ID: CD243AF4E535B475
3 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,5 @@
.root {
@apply flex flex-row h-screen py-12;
@apply flex flex-row h-screen py-12 px-6;
}
.button {

View File

@ -1,5 +0,0 @@
.root {
@apply mx-auto max-w-screen-xl mx-auto px-6 sm:px-4 lg:px-10;
display: inherit;
max-width: 1440px;
}

View File

@ -1,6 +1,5 @@
import cn from 'classnames'
import React, { FC } from 'react'
import s from './Container.module.css'
interface Props {
className?: string
@ -9,7 +8,7 @@ interface Props {
}
const Container: FC<Props> = ({ children, className, el = 'div' }) => {
const rootClassName = cn(s.root, className)
const rootClassName = cn('mx-auto max-w-screen-xl', className)
let Component: React.ComponentType<React.HTMLAttributes<
HTMLDivElement