Skip to content

Commit

Permalink
design: 상세페이지 여백 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Jun 7, 2024
1 parent 2197778 commit dde2549
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/(iTracker)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Header } from '@/shared/components/Header';

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<div className="flex-1 w-full flex flex-col gap-10 max-w-[1080px] mx-auto px-4">
<div className="flex-1 w-full flex flex-col gap-8 max-w-[1080px] mx-auto px-4">
<Header />
{children}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(iTracker)/products/[productId]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';

export default function Layout({ children }: { children: React.ReactNode }) {
return <div className="flex-1 w-full flex flex-col py-4">{children}</div>;
return <div className="flex-1 w-full flex flex-col">{children}</div>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ProductDetail = async ({ productId }: { productId: number }) => {

return (
<div>
<div className="my-8 w-full">
<div className="mb-8 w-full">
<div className="flex flex-col items-start md:flex-row md:items-center gap-12 md:gap-16">
<div className="flex items-center md:flex-col md:items-start gap-12 md:gap-4">
<div className="w-auto h-full rounded-md border-gray-200 border">
Expand Down

0 comments on commit dde2549

Please sign in to comment.