Update app.css
Browse files
app.css
CHANGED
@@ -46,12 +46,10 @@
|
|
46 |
border: none;
|
47 |
}
|
48 |
|
49 |
-
/* Footer ์จ๊ธฐ๊ธฐ */
|
50 |
footer, .footer, div[class*="footer"], #footer {
|
51 |
display: none !important;
|
52 |
}
|
53 |
|
54 |
-
/* Textarea ์คํ์ผ๋ง */
|
55 |
#component-0 textarea,
|
56 |
.gradio-container textarea,
|
57 |
.ant-input-textarea-large textarea {
|
@@ -60,7 +58,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
60 |
resize: vertical !important;
|
61 |
}
|
62 |
|
63 |
-
/* Setting ๋ฒํผ ์คํ์ผ๋ง */
|
64 |
.setting-buttons {
|
65 |
position: absolute;
|
66 |
top: 0;
|
@@ -72,7 +69,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
72 |
background-color: white;
|
73 |
}
|
74 |
|
75 |
-
/* ์ฐ์ธก ํจ๋ ์คํ์ผ๋ง */
|
76 |
.right_panel {
|
77 |
position: relative;
|
78 |
min-height: 600px;
|
@@ -83,7 +79,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
83 |
height: 100%;
|
84 |
}
|
85 |
|
86 |
-
/* ๋ฒํผ ์คํ์ผ๋ง */
|
87 |
.ant-btn {
|
88 |
flex: 1;
|
89 |
min-width: 80px;
|
@@ -98,7 +93,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
98 |
border-color: #1890ff;
|
99 |
}
|
100 |
|
101 |
-
/* Code ์คํ ๋ฒํผ ์คํ์ผ */
|
102 |
.ant-btn-default[title="Code ์คํ"] {
|
103 |
background-color: #52c41a;
|
104 |
color: white;
|
@@ -109,7 +103,6 @@ footer, .footer, div[class*="footer"], #footer {
|
|
109 |
background-color: #73d13d;
|
110 |
}
|
111 |
|
112 |
-
/* ์ธ์
๋๋ก์ด ์คํ์ผ */
|
113 |
.session-drawer .chatbot {
|
114 |
height: calc(100vh - 200px);
|
115 |
overflow-y: auto;
|
@@ -157,11 +150,37 @@ footer, .footer, div[class*="footer"], #footer {
|
|
157 |
font-size: 16px;
|
158 |
}
|
159 |
|
|
|
|
|
|
|
|
|
|
|
160 |
.card-prompt {
|
161 |
font-size: 0.9em;
|
162 |
color: #666;
|
163 |
display: -webkit-box;
|
164 |
-
-webkit-line-clamp:
|
165 |
-webkit-box-orient: vertical;
|
166 |
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
|
|
46 |
border: none;
|
47 |
}
|
48 |
|
|
|
49 |
footer, .footer, div[class*="footer"], #footer {
|
50 |
display: none !important;
|
51 |
}
|
52 |
|
|
|
53 |
#component-0 textarea,
|
54 |
.gradio-container textarea,
|
55 |
.ant-input-textarea-large textarea {
|
|
|
58 |
resize: vertical !important;
|
59 |
}
|
60 |
|
|
|
61 |
.setting-buttons {
|
62 |
position: absolute;
|
63 |
top: 0;
|
|
|
69 |
background-color: white;
|
70 |
}
|
71 |
|
|
|
72 |
.right_panel {
|
73 |
position: relative;
|
74 |
min-height: 600px;
|
|
|
79 |
height: 100%;
|
80 |
}
|
81 |
|
|
|
82 |
.ant-btn {
|
83 |
flex: 1;
|
84 |
min-width: 80px;
|
|
|
93 |
border-color: #1890ff;
|
94 |
}
|
95 |
|
|
|
96 |
.ant-btn-default[title="Code ์คํ"] {
|
97 |
background-color: #52c41a;
|
98 |
color: white;
|
|
|
103 |
background-color: #73d13d;
|
104 |
}
|
105 |
|
|
|
106 |
.session-drawer .chatbot {
|
107 |
height: calc(100vh - 200px);
|
108 |
overflow-y: auto;
|
|
|
150 |
font-size: 16px;
|
151 |
}
|
152 |
|
153 |
+
.card-prompt-container {
|
154 |
+
position: relative;
|
155 |
+
padding-right: 60px;
|
156 |
+
}
|
157 |
+
|
158 |
.card-prompt {
|
159 |
font-size: 0.9em;
|
160 |
color: #666;
|
161 |
display: -webkit-box;
|
162 |
+
-webkit-line-clamp: 3;
|
163 |
-webkit-box-orient: vertical;
|
164 |
overflow: hidden;
|
165 |
+
}
|
166 |
+
|
167 |
+
.copy-btn {
|
168 |
+
position: absolute;
|
169 |
+
right: 0;
|
170 |
+
top: 0;
|
171 |
+
padding: 4px 8px;
|
172 |
+
background: #f0f0f0;
|
173 |
+
border: 1px solid #ddd;
|
174 |
+
border-radius: 4px;
|
175 |
+
cursor: pointer;
|
176 |
+
font-size: 0.9em;
|
177 |
+
transition: all 0.2s ease;
|
178 |
+
}
|
179 |
+
|
180 |
+
.copy-btn:hover {
|
181 |
+
background: #e0e0e0;
|
182 |
+
}
|
183 |
+
|
184 |
+
.copy-btn:active {
|
185 |
+
background: #d0d0d0;
|
186 |
}
|