Skip to content

Commit 4f51746

Browse files
committed
refactor: global css 추가, 홈 화면 스타일 수정
1 parent 222615a commit 4f51746

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

src/components/Home/Home.module.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
display: flex;
4040
justify-content: center;
4141
align-items: center;
42-
margin-top: 3.75rem;
4342

4443
& > img {
4544
width: 16.25rem;
@@ -51,6 +50,5 @@
5150
display: flex;
5251
align-items: center;
5352
gap: 0.875rem;
54-
margin-top: auto;
5553
}
5654
}

src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import AppRouter from "@/router/AppRouter";
88
import ReactQueryClientProvider from "@/components/provider/ReactQueryClientProvider";
99

1010
import "@/styles/reset.scss";
11+
import "@/styles/global.scss";
1112

1213
ReactDom.createRoot(document.getElementById("root")!).render(
1314
<StrictMode>

src/styles/global.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* {
2+
font-family: "Pretendard", sans-serif;
3+
}
4+
5+
body {
6+
max-width: 37.5rem;
7+
margin: 0 auto;
8+
}

src/styles/reset.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,3 @@ table {
128128
border-collapse: collapse;
129129
border-spacing: 0;
130130
}
131-
132-
* {
133-
font-family: "Pretendard", sans-serif;
134-
}

0 commit comments

Comments
 (0)