4
0
forked from crowetic/commerce

Fix footer width

This commit is contained in:
paco 2020-10-08 18:57:26 -06:00
parent 375e30ed8d
commit 3cc2120542
No known key found for this signature in database
GPG Key ID: CD243AF4E535B475

View File

@ -10,10 +10,11 @@ interface Props {
const Footer: FC<Props> = ({ className }) => { const Footer: FC<Props> = ({ className }) => {
const rootClassName = cn( const rootClassName = cn(
'flex flex-col p-6 md:py-12 md:flex-row bg-black text-white flex-wrap', 'flex flex-col p-6 md:py-12 md:flex-row flex-wrap max-w-screen-xl m-auto',
className className
) )
return ( return (
<div className="bg-black text-white">
<footer className={rootClassName}> <footer className={rootClassName}>
<Link href="/"> <Link href="/">
<a className="flex flex-initial items-center md:items-start font-bold md:mr-24"> <a className="flex flex-initial items-center md:items-start font-bold md:mr-24">
@ -59,6 +60,7 @@ const Footer: FC<Props> = ({ className }) => {
style={{ flexBasis: '100%', height: 0 }} style={{ flexBasis: '100%', height: 0 }}
/> />
</footer> </footer>
</div>
) )
} }