mirror of
https://github.com/vercel/commerce.git
synced 2025-03-28 08:15:54 +00:00
Fix footer width
This commit is contained in:
parent
375e30ed8d
commit
3cc2120542
@ -10,10 +10,11 @@ interface Props {
|
||||
|
||||
const Footer: FC<Props> = ({ className }) => {
|
||||
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
|
||||
)
|
||||
return (
|
||||
<div className="bg-black text-white">
|
||||
<footer className={rootClassName}>
|
||||
<Link href="/">
|
||||
<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 }}
|
||||
/>
|
||||
</footer>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user