minwoosun commited on
Commit
b9ecba1
·
verified ·
1 Parent(s): 8686715

Fix dark mode css

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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: