Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +7 -1
index.html
CHANGED
@@ -34,12 +34,15 @@
|
|
34 |
display: flex;
|
35 |
flex-direction: column;
|
36 |
width: 100%;
|
|
|
|
|
37 |
}
|
38 |
.header {
|
39 |
text-align: center;
|
40 |
padding: 20px 0;
|
41 |
border-bottom: 1px solid var(--border-color);
|
42 |
margin-bottom: 20px;
|
|
|
43 |
}
|
44 |
.logo {
|
45 |
display: flex;
|
@@ -65,14 +68,16 @@
|
|
65 |
display: flex;
|
66 |
flex-direction: column;
|
67 |
border: 1px solid var(--border-color);
|
|
|
|
|
68 |
}
|
69 |
.chat-messages {
|
70 |
flex-grow: 1;
|
71 |
overflow-y: auto;
|
72 |
-
margin-bottom: 20px;
|
73 |
padding: 10px;
|
74 |
scrollbar-width: thin;
|
75 |
scrollbar-color: var(--primary-color) var(--card-bg);
|
|
|
76 |
}
|
77 |
.chat-messages::-webkit-scrollbar {
|
78 |
width: 6px;
|
@@ -116,6 +121,7 @@
|
|
116 |
margin-top: 20px;
|
117 |
display: flex;
|
118 |
justify-content: center;
|
|
|
119 |
}
|
120 |
button {
|
121 |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
|
34 |
display: flex;
|
35 |
flex-direction: column;
|
36 |
width: 100%;
|
37 |
+
height: calc(100vh - 40px); /* 전체 높이에서 컨테이너 패딩 제외 */
|
38 |
+
box-sizing: border-box;
|
39 |
}
|
40 |
.header {
|
41 |
text-align: center;
|
42 |
padding: 20px 0;
|
43 |
border-bottom: 1px solid var(--border-color);
|
44 |
margin-bottom: 20px;
|
45 |
+
flex-shrink: 0; /* 헤더는 크기 고정 */
|
46 |
}
|
47 |
.logo {
|
48 |
display: flex;
|
|
|
68 |
display: flex;
|
69 |
flex-direction: column;
|
70 |
border: 1px solid var(--border-color);
|
71 |
+
overflow: hidden; /* 내부 스크롤을 위해 오버플로우 숨김 */
|
72 |
+
min-height: 0; /* flexbox에서 스크롤이 작동하도록 함 */
|
73 |
}
|
74 |
.chat-messages {
|
75 |
flex-grow: 1;
|
76 |
overflow-y: auto;
|
|
|
77 |
padding: 10px;
|
78 |
scrollbar-width: thin;
|
79 |
scrollbar-color: var(--primary-color) var(--card-bg);
|
80 |
+
min-height: 0; /* flexbox에서 스크롤이 작동하도록 함 */
|
81 |
}
|
82 |
.chat-messages::-webkit-scrollbar {
|
83 |
width: 6px;
|
|
|
121 |
margin-top: 20px;
|
122 |
display: flex;
|
123 |
justify-content: center;
|
124 |
+
flex-shrink: 0; /* 컨트롤은 크기 고정 */
|
125 |
}
|
126 |
button {
|
127 |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|