Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,11 +229,19 @@ custom_css = """
|
|
| 229 |
/* Override the background color for user messages in the Chatbot */
|
| 230 |
#chatbot .message.user {
|
| 231 |
background-color: #ccc !important; /* Grey background */
|
| 232 |
-
color: #
|
| 233 |
}
|
| 234 |
.gradio-container footer {
|
| 235 |
display: none !important;
|
| 236 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
"""
|
| 238 |
|
| 239 |
with gr.Blocks(css=custom_css, theme=gr.themes.Default(primary_hue="sky")) as demo:
|
|
|
|
| 229 |
/* Override the background color for user messages in the Chatbot */
|
| 230 |
#chatbot .message.user {
|
| 231 |
background-color: #ccc !important; /* Grey background */
|
| 232 |
+
color: #222 !important;
|
| 233 |
}
|
| 234 |
.gradio-container footer {
|
| 235 |
display: none !important;
|
| 236 |
}
|
| 237 |
+
.gradio-container {
|
| 238 |
+
width: 100% !important;
|
| 239 |
+
}
|
| 240 |
+
.hf-chat-input:focus {
|
| 241 |
+
outline: none !important;
|
| 242 |
+
box-shadow: none !important;
|
| 243 |
+
border-color: #c2c2c2 !important; /* or use your preferred grey */
|
| 244 |
+
}
|
| 245 |
"""
|
| 246 |
|
| 247 |
with gr.Blocks(css=custom_css, theme=gr.themes.Default(primary_hue="sky")) as demo:
|