Skip to content

Commit

Permalink
Merge pull request #44 from capstone-maru/fix/layout
Browse files Browse the repository at this point in the history
fix: 디자인 작업을 위한 기본 패딩 제거 및 관련 페이지 수정
  • Loading branch information
cjeongmin authored Apr 2, 2024
2 parents 1f3312b + dd1b61a commit 7e3bd01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/app/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ main {
width: 100%;
height: calc(100% - 72px);
max-height: fit-content;
padding: 0 15rem;

display: flex;
justify-content: center;
}

a {
Expand Down
2 changes: 0 additions & 2 deletions src/app/pages/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const styles = {
`,
section2: styled.div`
position: relative;
left: -15rem;
width: 100dvw;
height: 31.25rem;
flex-shrink: 0;
Expand Down Expand Up @@ -111,7 +110,6 @@ const styles = {
section4: styled.div`
display: flex;
position: relative;
left: -15rem;
width: 100dvw;
height: 17.9375rem;
padding: 10.0625rem 38.71875rem 5.0625rem 39.90625rem;
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/main-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function MainPage() {

setAuthUserData(userData);
if (userData.initialized) {
router.replace('/profile');
// router.replace('/profile');
}
}
}, [data, router, setAuthUserData]);
Expand Down
1 change: 0 additions & 1 deletion src/app/pages/shared-post-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const styles = {
background: var(--background, #f7f6f9);
position: relative;
left: -15rem;
width: 100dvw;
min-height: 100%;
height: fit-content;
Expand Down

0 comments on commit 7e3bd01

Please sign in to comment.