Spaces:
Sleeping
Sleeping
ㅅㅎㅇ commited on
Commit ·
06387ea
1
Parent(s): 40e39e0
Fix: Hide stop button in ChatInterface using CSS - Add CSS rules to hide and disable stop button - Prevent stop button from appearing after submit - Make stop button non-clickable with pointer-events: none
Browse files- CodeWeaver/ui/app.py +21 -0
CodeWeaver/ui/app.py
CHANGED
|
@@ -51,6 +51,27 @@ textarea[placeholder*="세션 ID"] {
|
|
| 51 |
min-width: 800px !important;
|
| 52 |
width: 100% !important;
|
| 53 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
"""
|
| 55 |
|
| 56 |
|
|
|
|
| 51 |
min-width: 800px !important;
|
| 52 |
width: 100% !important;
|
| 53 |
}
|
| 54 |
+
/* 멈춤 버튼 숨기기 및 클릭 비활성화 */
|
| 55 |
+
button[aria-label*="Stop"],
|
| 56 |
+
button[aria-label*="stop"],
|
| 57 |
+
button[data-testid*="stop"],
|
| 58 |
+
button[title*="Stop"],
|
| 59 |
+
button[title*="멈춤"],
|
| 60 |
+
button[aria-label="Stop"],
|
| 61 |
+
button[aria-label="Stop generation"] {
|
| 62 |
+
display: none !important;
|
| 63 |
+
pointer-events: none !important;
|
| 64 |
+
visibility: hidden !important;
|
| 65 |
+
opacity: 0 !important;
|
| 66 |
+
}
|
| 67 |
+
/* ChatInterface의 멈춤 버튼 숨기기 (더 일반적인 선택자) */
|
| 68 |
+
.gradio-chatinterface button[aria-label*="Stop"],
|
| 69 |
+
.gradio-chatinterface button[data-testid*="stop"] {
|
| 70 |
+
display: none !important;
|
| 71 |
+
pointer-events: none !important;
|
| 72 |
+
visibility: hidden !important;
|
| 73 |
+
opacity: 0 !important;
|
| 74 |
+
}
|
| 75 |
"""
|
| 76 |
|
| 77 |
|