Fix: background color of dropdown options in dashboard app

2 views
Skip to first unread message

Tom Clerckx

unread,
10:35 AM (3 hours ago) 10:35 AM
to py4web
The background color of a drop down was white.
The options text was also white.
This was hiding the options - until you would select them

Fix in dashboard application:

--- a/static/css/no.css
+++ b/static/css/no.css
@@ -226,6 +226,16 @@ select[multiple] {
   height: auto;
 }
 
+/* Fix dropdown option visibility in dark theme */
+select {
+  background-color: #222 !important;
+  color: white !important;
+}
+
+select option {
+  background-color: #222;
+  color: white;
+}
+
 textarea {
   min-height: 6.5rem;
 }
Reply all
Reply to author
Forward
0 new messages