Skip to content

Commit

Permalink
design: navbar 고정되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed Aug 27, 2024
1 parent 1088db0 commit bded593
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion apps/client/app/(afterLogin)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
return (
<>
<Navbar />
<styled.main padding="54px 0 0 101px" width="calc(100vw - 351px)">
<styled.main
left="250px"
padding="54px 0 0 101px"
position="absolute"
width="calc(100vw - 351px)"
>
{children}
</styled.main>
</>
Expand Down
3 changes: 2 additions & 1 deletion apps/client/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export default Navbar;
const navbarContainerStyle = css({
width: "250px",
minWidth: "250px",
minHeight: "100vh",
height: "100vh",
position: "fixed",
paddingTop: "54px",
borderRightWidth: "arrow",
borderColor: "mono.400",
Expand Down

0 comments on commit bded593

Please sign in to comment.