Skip to content

Commit e9d9153

Browse files
committed
refactor: global scss 추가, 일부 스타일 수정
1 parent b6374df commit e9d9153

File tree

4 files changed

+30
-6
lines changed

4 files changed

+30
-6
lines changed

src/components/ui/BaseButton/BaseButton.module.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
.BaseButton {
44
cursor: pointer;
5-
margin: 0;
6-
border: none;
75
border-radius: 0.875rem;
86
width: 100%;
97
height: 3.25rem;

src/main.tsx

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

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

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

src/styles/global.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
* {
2+
font-family: "Pretendard", sans-serif;
3+
padding: 0;
4+
margin: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
body {
9+
max-width: 37.5rem;
10+
margin: 0 auto;
11+
}
12+
13+
a {
14+
text-decoration: none;
15+
color: inherit;
16+
}
17+
18+
button {
19+
border: none;
20+
outline: none;
21+
background-color: transparent;
22+
}
23+
24+
input,
25+
textarea {
26+
border: none;
27+
outline: none;
28+
background-color: transparent;
29+
}

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)