diff --git a/src/App.css b/src/App.css index 3e6578f..27992a3 100644 --- a/src/App.css +++ b/src/App.css @@ -39,5 +39,10 @@ #main_mapper { display: flex; - + width: 102%; + height: 100%; +} +.container{ + width: 100%; + height: 100%; } diff --git a/src/PostList.css b/src/PostList.css index b9162c4..662cd3a 100644 --- a/src/PostList.css +++ b/src/PostList.css @@ -1,10 +1,12 @@ #PostList_div{ width: 100%; - height: 80vh; + height: 100%; overflow-y: auto; + overflow-x: hidden; border-right: 1px solid#3e3e3e; border-left: 1px solid#3e3e3e; border-bottom: 1px solid#3e3e3e; + } #PostList_div::-webkit-scrollbar{ @@ -23,7 +25,7 @@ /* z-index: 1000; */ } #post-container{ - + height: 70%; overflow-y: auto; background-color: antiquewhite; diff --git a/public/apartment.svg b/src/assets/apartment.svg similarity index 100% rename from public/apartment.svg rename to src/assets/apartment.svg diff --git a/src/components/CommentWrite.component.jsx b/src/components/CommentWrite.component.jsx index dc792ff..3eb0a00 100644 --- a/src/components/CommentWrite.component.jsx +++ b/src/components/CommentWrite.component.jsx @@ -47,11 +47,11 @@ export default function CommentWrite({ _id, onCommentAddedListener }) { return (

새 댓글 쓰기

- - setCommentForm({ ...commentForm, nickname: e.target.value })}/> - setCommentForm({ ...commentForm, comment: e.target.value })}/> + + setCommentForm({ ...commentForm, nickname: e.target.value })}/> + setCommentForm({ ...commentForm, comment: e.target.value })}/> - +
) } \ No newline at end of file diff --git a/src/components/Home.component.jsx b/src/components/Home.component.jsx index b024083..76e38cc 100644 --- a/src/components/Home.component.jsx +++ b/src/components/Home.component.jsx @@ -13,7 +13,7 @@ export default function HomeComponent() { } return ( -
+
diff --git a/src/components/Nav.component.jsx b/src/components/Nav.component.jsx index e0c7876..f0cea10 100644 --- a/src/components/Nav.component.jsx +++ b/src/components/Nav.component.jsx @@ -1,10 +1,10 @@ import "../styles/nav.component.css" - +import apartment from "../assets/apartment.svg" export default function NavComponent() { return ( - <> -