Skip to content

Commit 073518f

Browse files
committed
[fix] resolved every main layout errors
1 parent 5a6db77 commit 073518f

3 files changed

Lines changed: 3 additions & 16 deletions

File tree

src/index.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
html, body, #root {
1+
html {
22
height: 100%;
3-
margin: 0;
4-
padding: 0;
53
}
64

75
:root {
@@ -29,7 +27,8 @@ a:hover {
2927
}
3028

3129
body {
32-
height: 100%;
30+
min-height: 100vh; /* 화면 이상일 때도 배경 유지됨 */
31+
height: auto;
3332
margin: 0;
3433
padding: 0;
3534
background: linear-gradient(276deg, #5BA5FF 12.83%, #ABF1FF 53.52%, #BBFFE4 94.21%);

src/styles/global.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
@import "./theme.css";
22

3-
html, body, #root {
4-
height: 100%;
5-
margin: 0;
6-
padding: 0;
7-
}
8-
93
/* 전역 유틸리티 클래스 */
104
.bg-gradient-main {
115
width: var(--layout-width);

src/styles/theme.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
@import "tailwindcss";
22

3-
html, body, #root {
4-
height: 100%;
5-
margin: 0;
6-
padding: 0;
7-
}
8-
93
:root {
104

115
/* Colors */

0 commit comments

Comments
 (0)