Spaces:
Paused
Paused
Update app.css
Browse files
app.css
CHANGED
@@ -61,7 +61,7 @@ body {
|
|
61 |
color: var(--text-primary);
|
62 |
}
|
63 |
|
64 |
-
/* 패널 레이아웃 조정 - 높이 50% 증가 */
|
65 |
.equal-height-container {
|
66 |
display: flex;
|
67 |
min-height: 900px; /* 기존 600px에서 50% 증가 */
|
@@ -103,7 +103,7 @@ body {
|
|
103 |
}
|
104 |
|
105 |
.right_content {
|
106 |
-
height:
|
107 |
display: flex;
|
108 |
flex-direction: column;
|
109 |
justify-content: center;
|
@@ -124,8 +124,9 @@ footer, .footer, div[class*="footer"], #footer {
|
|
124 |
#component-0 textarea,
|
125 |
.gradio-container textarea,
|
126 |
.ant-input-textarea-large textarea {
|
127 |
-
|
128 |
-
|
|
|
129 |
resize: vertical !important;
|
130 |
border: 2px solid var(--neutral-200);
|
131 |
border-radius: 12px;
|
@@ -160,7 +161,7 @@ footer, .footer, div[class*="footer"], #footer {
|
|
160 |
|
161 |
.right_panel {
|
162 |
position: relative;
|
163 |
-
height: 900px; /*
|
164 |
display: flex;
|
165 |
flex-direction: column;
|
166 |
padding-top: 0;
|
@@ -169,7 +170,7 @@ footer, .footer, div[class*="footer"], #footer {
|
|
169 |
.panel {
|
170 |
display: flex;
|
171 |
flex-direction: column;
|
172 |
-
height: 900px; /*
|
173 |
background: var(--surface);
|
174 |
border-radius: 8px;
|
175 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
@@ -178,13 +179,13 @@ footer, .footer, div[class*="footer"], #footer {
|
|
178 |
.input-panel {
|
179 |
display: flex;
|
180 |
flex-direction: column;
|
181 |
-
height: 900px; /*
|
182 |
flex: 1;
|
183 |
}
|
184 |
|
185 |
.html_content {
|
186 |
flex: 1;
|
187 |
-
height: 870px; /*
|
188 |
border-radius: 0 0 8px 8px;
|
189 |
overflow: hidden;
|
190 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
@@ -204,6 +205,25 @@ footer, .footer, div[class*="footer"], #footer {
|
|
204 |
font-size: 0.8em; /* 기본 폰트 크기에서 20% 감소 */
|
205 |
}
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
/* 탭 컨텐츠 높이 조정 */
|
208 |
.ant-tabs-content {
|
209 |
height: 100%;
|
@@ -215,18 +235,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
215 |
flex-direction: column;
|
216 |
}
|
217 |
|
218 |
-
.ant-btn {
|
219 |
-
flex: 1;
|
220 |
-
min-width: 80px;
|
221 |
-
border-radius: 8px;
|
222 |
-
font-weight: 500;
|
223 |
-
transition: all 0.3s;
|
224 |
-
height: 40px;
|
225 |
-
display: flex;
|
226 |
-
align-items: center;
|
227 |
-
justify-content: center;
|
228 |
-
}
|
229 |
-
|
230 |
.ant-btn-primary {
|
231 |
background: linear-gradient(to right, var(--primary), var(--secondary));
|
232 |
border: none;
|
@@ -416,8 +424,8 @@ footer, .footer, div[class*="footer"], #footer {
|
|
416 |
}
|
417 |
|
418 |
.ant-btn {
|
419 |
-
min-width: 60px
|
420 |
-
font-size: 0.9rem
|
421 |
}
|
422 |
}
|
423 |
|
|
|
61 |
color: var(--text-primary);
|
62 |
}
|
63 |
|
64 |
+
/* 패널 레이아웃 조정 - 높이 50% 증가 및 양쪽 일치 */
|
65 |
.equal-height-container {
|
66 |
display: flex;
|
67 |
min-height: 900px; /* 기존 600px에서 50% 증가 */
|
|
|
103 |
}
|
104 |
|
105 |
.right_content {
|
106 |
+
height: 870px; /* 헤더(30px)를 제외한 높이 */
|
107 |
display: flex;
|
108 |
flex-direction: column;
|
109 |
justify-content: center;
|
|
|
124 |
#component-0 textarea,
|
125 |
.gradio-container textarea,
|
126 |
.ant-input-textarea-large textarea {
|
127 |
+
/* 더 정확한 높이 비율 조정 */
|
128 |
+
height: 750px !important; /* 우측 패널 내용물 높이 조정 (헤더, 버튼, 헬프텍스트 등 고려) */
|
129 |
+
min-height: 300px !important;
|
130 |
resize: vertical !important;
|
131 |
border: 2px solid var(--neutral-200);
|
132 |
border-radius: 12px;
|
|
|
161 |
|
162 |
.right_panel {
|
163 |
position: relative;
|
164 |
+
height: 900px; /* 좌측 패널과 동일하게 900px */
|
165 |
display: flex;
|
166 |
flex-direction: column;
|
167 |
padding-top: 0;
|
|
|
170 |
.panel {
|
171 |
display: flex;
|
172 |
flex-direction: column;
|
173 |
+
height: 900px; /* 좌측 패널과 동일하게 900px */
|
174 |
background: var(--surface);
|
175 |
border-radius: 8px;
|
176 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
|
179 |
.input-panel {
|
180 |
display: flex;
|
181 |
flex-direction: column;
|
182 |
+
height: 900px; /* 좌측 패널과 동일하게 900px */
|
183 |
flex: 1;
|
184 |
}
|
185 |
|
186 |
.html_content {
|
187 |
flex: 1;
|
188 |
+
height: 870px; /* 헤더(30px)를 제외한 높이 */
|
189 |
border-radius: 0 0 8px 8px;
|
190 |
overflow: hidden;
|
191 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
|
205 |
font-size: 0.8em; /* 기본 폰트 크기에서 20% 감소 */
|
206 |
}
|
207 |
|
208 |
+
/* 버튼 크기 10% 감소 */
|
209 |
+
.ant-btn {
|
210 |
+
flex: 1;
|
211 |
+
min-width: 72px; /* 기존 80px에서 10% 감소 */
|
212 |
+
border-radius: 8px;
|
213 |
+
font-weight: 500;
|
214 |
+
transition: all 0.3s;
|
215 |
+
height: 36px; /* 기존 40px에서 10% 감소 */
|
216 |
+
display: flex;
|
217 |
+
align-items: center;
|
218 |
+
justify-content: center;
|
219 |
+
font-size: 0.9em; /* 버튼 텍스트 크기도 10% 감소 */
|
220 |
+
}
|
221 |
+
|
222 |
+
/* 버튼에 작은 여백 추가 */
|
223 |
+
.ant-flex .ant-btn {
|
224 |
+
margin: 2px;
|
225 |
+
}
|
226 |
+
|
227 |
/* 탭 컨텐츠 높이 조정 */
|
228 |
.ant-tabs-content {
|
229 |
height: 100%;
|
|
|
235 |
flex-direction: column;
|
236 |
}
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
.ant-btn-primary {
|
239 |
background: linear-gradient(to right, var(--primary), var(--secondary));
|
240 |
border: none;
|
|
|
424 |
}
|
425 |
|
426 |
.ant-btn {
|
427 |
+
min-width: 54px; /* 기존 60px에서 10% 감소 */
|
428 |
+
font-size: 0.81rem; /* 0.9rem에서 10% 감소 */
|
429 |
}
|
430 |
}
|
431 |
|