forked from crowetic/commerce
Fix footer width
This commit is contained in:
parent
375e30ed8d
commit
3cc2120542
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user