forked from crowetic/commerce
Fix some paddings
This commit is contained in:
parent
a05c15b002
commit
6bc416eb74
@ -14,7 +14,7 @@ const Navbar: FC<Props> = ({ className }) => {
|
||||
return (
|
||||
<div className={rootClassName}>
|
||||
<Container>
|
||||
<div className="flex justify-between align-center flex-row px-6 py-4 md:py-6 relative">
|
||||
<div className="flex justify-between align-center flex-row p-4 md:p-6 relative">
|
||||
<div className="flex flex-1 items-center">
|
||||
<Link href="/">
|
||||
<a className="cursor-pointer">
|
||||
@ -42,7 +42,7 @@ const Navbar: FC<Props> = ({ className }) => {
|
||||
<UserNav />
|
||||
</div>
|
||||
</div>
|
||||
<div className="block flex pb-4 md:hidden px-6">
|
||||
<div className="block flex pb-4 md:hidden px-4 md:px-6">
|
||||
<Searchbar />
|
||||
</div>
|
||||
</Container>
|
||||
|
@ -1,3 +0,0 @@
|
||||
.root {
|
||||
@apply bg-black py-12;
|
||||
}
|
@ -9,7 +9,7 @@ interface Props {
|
||||
}
|
||||
|
||||
const Hero: FC<Props> = ({ headline, description, className }) => {
|
||||
const rootClassName = cn(s.root, className)
|
||||
const rootClassName = cn('bg-black py-12 px-4 md:px-6', className)
|
||||
return (
|
||||
<div className={rootClassName}>
|
||||
<Container>
|
||||
|
@ -38,7 +38,7 @@ export default function Home({
|
||||
variant="secondary"
|
||||
wrapper={(p: any) => <ProductCard {...p} variant="slim" />}
|
||||
/>
|
||||
<div className="py-12 flex flex-row w-full">
|
||||
<div className="py-12 px-4 flex flex-row w-full">
|
||||
<div className="flex-0 pr-3 w-48 break-words">
|
||||
ALL CATEGORIES ACCESSORIES BAGS CLOTHING SHOES ALL DESIGNERS 032c 1017
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user