Skip to content

Commit

Permalink
[Fix] kdt-8-4#3 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeiis committed Apr 2, 2024
1 parent e33b06c commit 6a2f265
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export default async function EditOrganism({ boardId }: BOARDID) {
const data: FEEDDATA_detail = await response.json()

return (
<div className="h-screen">
<>
<EditHeader boardId={boardId} />
<main className="mx-5 h-full mt-[50px] overflow-y-auto">
<main className="flex-1 mx-5 overflow-y-auto">
<div className="flex-col items-center justify-center mb-7">
<Weather initialWeatherIcon={data.weatherIcon} />
<ImageUpload images={data.images} mode="edit" />
Expand All @@ -25,6 +25,6 @@ export default async function EditOrganism({ boardId }: BOARDID) {
<hr />
<SelectCategory initCategory={data.category} mode="edit" />
</main>
</div>
</>
)
}
2 changes: 1 addition & 1 deletion weatherfit_refactoring/src/Components/WebView/WebView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function WebView({ children }: { children: ReactNode }) {
<FeedSearch />
</div>
</aside>
<div className="flex flex-col w-[400px] border-2 pb-[66px]">
<div className="flex flex-col w-[400px] border-2 pb-[66px] relative">
{children}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions weatherfit_refactoring/src/app/feed/detail/[id]/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default function Edit({ params }: { params: { id: string } }) {
const { id: boardId } = params

return (
<div className="h-screen ">
<>
<EditOrganism boardId={boardId} />
</div>
</>
)
}

0 comments on commit 6a2f265

Please sign in to comment.