Fix dark mode css
Browse files
app.py
CHANGED
|
@@ -190,6 +190,11 @@ if __name__ == "__main__":
|
|
| 190 |
.run-button:hover {
|
| 191 |
background-color: #e6a600; /* Darker shade on hover */
|
| 192 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
"""
|
| 194 |
|
| 195 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 190 |
.run-button:hover {
|
| 191 |
background-color: #e6a600; /* Darker shade on hover */
|
| 192 |
}
|
| 193 |
+
|
| 194 |
+
/* Ensure text in ordered lists is black in both light and dark modes */
|
| 195 |
+
ol, li {
|
| 196 |
+
color: black !important;
|
| 197 |
+
}
|
| 198 |
"""
|
| 199 |
|
| 200 |
with gr.Blocks(css=css) as demo:
|