Skip to content

Commit 96c15d3

Browse files
committed
style(planner): 레이아웃 구조 변경
1 parent 60a299c commit 96c15d3

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

src/components/planner/PlannerBodySection.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ export default function PlannerBodySection({
3333
<section className="border-border bg-bg-sub border-t px-5 py-8 lg:px-15 lg:py-10">
3434
<div className="mx-auto flex w-full max-w-400 gap-8">
3535
{/* === 메인 타임라인 영역 (모바일/데스크톱 모두 보임) === */}
36-
<div className="*:bg-bg-main *:border-border w-full flex-1 space-y-6 *:rounded-2xl *:border *:p-5 lg:flex-3 lg:space-y-8 lg:*:p-8">
37-
<PlannerTimelineSection
38-
planId={planId}
39-
schedules={schedules}
40-
concertCoords={concertCoords}
41-
userRole={userRole}
42-
totalDuration={totalDuration}
43-
userLocation={userLocation}
44-
/>
45-
<PlannerQuickTips />
36+
<div className="w-full flex-1">
37+
<div className="*:bg-bg-main *:border-border sticky top-30 space-y-6 *:rounded-2xl *:border *:p-5 lg:flex-3 lg:space-y-8 lg:*:p-8">
38+
<PlannerTimelineSection
39+
planId={planId}
40+
schedules={schedules}
41+
concertCoords={concertCoords}
42+
userRole={userRole}
43+
totalDuration={totalDuration}
44+
userLocation={userLocation}
45+
/>
46+
<PlannerQuickTips />
47+
</div>
4648
</div>
4749

4850
{/* === 데스크톱 사이드바 === */}
49-
<div className="hidden lg:block lg:max-w-125 lg:flex-1">
51+
<div className="hidden lg:block lg:max-w-125">
5052
<div className="sticky top-30 space-y-8">
5153
<PlannerSidebarContents participants={participants} schedules={schedules} />
5254
</div>

0 commit comments

Comments
 (0)