Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.css
Browse files
app.css
CHANGED
@@ -56,96 +56,109 @@ body {
|
|
56 |
height: 100% !important;
|
57 |
}
|
58 |
|
59 |
-
/* ν둬ννΈ μ
λ ₯μ°½ κ°μ
|
60 |
.ant-input-textarea-large textarea,
|
61 |
.ant-input-textarea textarea,
|
62 |
#component-0 textarea,
|
63 |
textarea,
|
64 |
-
.ant-input textarea
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
73 |
}
|
74 |
|
75 |
-
/*
|
76 |
-
.
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
overflow: hidden !important;
|
82 |
-
border-radius: 12px;
|
83 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
84 |
-
background: var(--surface);
|
85 |
}
|
86 |
|
87 |
-
/* iframe
|
|
|
88 |
.html_content iframe,
|
89 |
iframe {
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
96 |
}
|
97 |
|
98 |
-
/* μ°μΈ‘ ν¨λ
|
99 |
.right_panel {
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
|
108 |
/* 컨ν
μΈ μμ κ°μ λμ΄ μ€μ */
|
109 |
.right_content {
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
}
|
121 |
|
122 |
/* ν 컨ν
μΈ μμ λμ΄ μ‘°μ */
|
123 |
.ant-tabs-content {
|
124 |
-
|
125 |
}
|
126 |
|
127 |
.ant-tabs-tabpane {
|
128 |
-
|
129 |
}
|
130 |
|
131 |
-
/*
|
132 |
.gradio-container,
|
133 |
.contain,
|
134 |
.contain > div,
|
135 |
.content-wrap,
|
136 |
.content {
|
137 |
-
|
138 |
-
|
139 |
}
|
140 |
|
141 |
/* μΆκ°μ μΈ λ μ΄μμ μμ μ±μ μν μ€νμΌ */
|
142 |
.ms-application {
|
143 |
-
|
144 |
-
|
145 |
}
|
146 |
|
147 |
.ant-config-provider {
|
148 |
-
|
149 |
}
|
150 |
|
151 |
.left_header {
|
@@ -345,11 +358,10 @@ iframe {
|
|
345 |
max-height: 300px !important;
|
346 |
}
|
347 |
|
|
|
348 |
.html_content,
|
349 |
-
.html_content iframe,
|
350 |
iframe {
|
351 |
height: 800px !important;
|
352 |
-
min-height: 800px !important;
|
353 |
max-height: 800px !important;
|
354 |
}
|
355 |
}
|
|
|
56 |
height: 100% !important;
|
57 |
}
|
58 |
|
59 |
+
/* ν둬ννΈ μ
λ ₯μ°½ λμ΄ κ°μ μ€μ */
|
60 |
.ant-input-textarea-large textarea,
|
61 |
.ant-input-textarea textarea,
|
62 |
#component-0 textarea,
|
63 |
textarea,
|
64 |
+
.ant-input textarea,
|
65 |
+
div[class*="ant-input"] textarea {
|
66 |
+
height: 300px !important;
|
67 |
+
min-height: 300px !important;
|
68 |
+
max-height: 300px !important;
|
69 |
+
resize: none !important;
|
70 |
+
overflow-y: auto !important;
|
71 |
+
border: 2px solid var(--neutral-200);
|
72 |
+
border-radius: 12px;
|
73 |
+
padding: 1rem;
|
74 |
}
|
75 |
|
76 |
+
/* μλλ°μ€ 컨ν
μ΄λ μ€μ */
|
77 |
+
.sandbox-container {
|
78 |
+
height: 800px !important;
|
79 |
+
max-height: 800px !important;
|
80 |
+
overflow: hidden !important;
|
81 |
+
position: relative !important;
|
|
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
+
/* iframe μ€μ */
|
85 |
+
.sandbox-container iframe,
|
86 |
.html_content iframe,
|
87 |
iframe {
|
88 |
+
width: 100% !important;
|
89 |
+
height: 800px !important;
|
90 |
+
max-height: 800px !important;
|
91 |
+
border: none !important;
|
92 |
+
position: absolute !important;
|
93 |
+
top: 0 !important;
|
94 |
+
left: 0 !important;
|
95 |
+
right: 0 !important;
|
96 |
+
bottom: 0 !important;
|
97 |
}
|
98 |
|
99 |
+
/* μ°μΈ‘ ν¨λ μ€μ */
|
100 |
.right_panel {
|
101 |
+
height: 900px !important;
|
102 |
+
max-height: 900px !important;
|
103 |
+
overflow: hidden !important;
|
104 |
+
display: flex !important;
|
105 |
+
flex-direction: column !important;
|
106 |
+
padding-top: 50px;
|
107 |
+
}
|
108 |
+
|
109 |
+
/* HTML 컨ν
μΈ μμ μ€μ */
|
110 |
+
.html_content {
|
111 |
+
flex: 1 !important;
|
112 |
+
height: 800px !important;
|
113 |
+
max-height: 800px !important;
|
114 |
+
overflow: hidden !important;
|
115 |
+
position: relative !important;
|
116 |
+
border-radius: 12px;
|
117 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
118 |
+
background: var(--surface);
|
119 |
}
|
120 |
|
121 |
/* 컨ν
μΈ μμ κ°μ λμ΄ μ€μ */
|
122 |
.right_content {
|
123 |
+
height: 800px !important;
|
124 |
+
min-height: 800px !important;
|
125 |
+
max-height: 800px !important;
|
126 |
+
overflow: auto !important;
|
127 |
+
display: flex;
|
128 |
+
flex-direction: column;
|
129 |
+
justify-content: center;
|
130 |
+
align-items: center;
|
131 |
+
background: var(--surface);
|
132 |
+
border-radius: 0 0 8px 8px;
|
133 |
}
|
134 |
|
135 |
/* ν 컨ν
μΈ μμ λμ΄ μ‘°μ */
|
136 |
.ant-tabs-content {
|
137 |
+
height: 100% !important;
|
138 |
}
|
139 |
|
140 |
.ant-tabs-tabpane {
|
141 |
+
height: 100% !important;
|
142 |
}
|
143 |
|
144 |
+
/* 컨ν
μΈ μ€ν¬λ‘€ λ°©μ§ */
|
145 |
.gradio-container,
|
146 |
.contain,
|
147 |
.contain > div,
|
148 |
.content-wrap,
|
149 |
.content {
|
150 |
+
max-height: 900px !important;
|
151 |
+
overflow: hidden !important;
|
152 |
}
|
153 |
|
154 |
/* μΆκ°μ μΈ λ μ΄μμ μμ μ±μ μν μ€νμΌ */
|
155 |
.ms-application {
|
156 |
+
height: 100% !important;
|
157 |
+
min-height: 100vh !important;
|
158 |
}
|
159 |
|
160 |
.ant-config-provider {
|
161 |
+
height: 100% !important;
|
162 |
}
|
163 |
|
164 |
.left_header {
|
|
|
358 |
max-height: 300px !important;
|
359 |
}
|
360 |
|
361 |
+
.sandbox-container,
|
362 |
.html_content,
|
|
|
363 |
iframe {
|
364 |
height: 800px !important;
|
|
|
365 |
max-height: 800px !important;
|
366 |
}
|
367 |
}
|