diff --git a/src/app/globals.scss b/src/app/globals.scss index a796028..ed6a137 100644 --- a/src/app/globals.scss +++ b/src/app/globals.scss @@ -22,7 +22,9 @@ main { width: 100%; height: calc(100% - 72px); max-height: fit-content; - padding: 0 15rem; + + display: flex; + justify-content: center; } a { diff --git a/src/app/pages/landing-page.tsx b/src/app/pages/landing-page.tsx index 33e8a70..46e1bfd 100644 --- a/src/app/pages/landing-page.tsx +++ b/src/app/pages/landing-page.tsx @@ -72,7 +72,6 @@ const styles = { `, section2: styled.div` position: relative; - left: -15rem; width: 100dvw; height: 31.25rem; flex-shrink: 0; @@ -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; diff --git a/src/app/pages/main-page.tsx b/src/app/pages/main-page.tsx index e63ae3f..1c4e595 100644 --- a/src/app/pages/main-page.tsx +++ b/src/app/pages/main-page.tsx @@ -64,7 +64,7 @@ export function MainPage() { setAuthUserData(userData); if (userData.initialized) { - router.replace('/profile'); + // router.replace('/profile'); } } }, [data, router, setAuthUserData]); diff --git a/src/app/pages/shared-post-page.tsx b/src/app/pages/shared-post-page.tsx index f6401f0..6f9a2ef 100644 --- a/src/app/pages/shared-post-page.tsx +++ b/src/app/pages/shared-post-page.tsx @@ -20,7 +20,6 @@ const styles = { background: var(--background, #f7f6f9); position: relative; - left: -15rem; width: 100dvw; min-height: 100%; height: fit-content;