Fix: background color of dropdown options in dashboard app

26 views
Skip to first unread message

Tom Clerckx

unread,
Jan 21, 2026, 10:35:37 AMJan 21
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;
 }

Nico Zanferrari

unread,
Jan 23, 2026, 12:27:27 PMJan 23
to Tom Clerckx, py4web
Hi Tom,

I was not able to reproduce the problem, could you kindly try it with the latest version of the dashboard app, and paste a screenshot? Also, specify OS and browser used.

Thank you,
Nico

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/3fb06d3f-97c1-47d7-9985-97c2442c3158n%40googlegroups.com.

Massimo DiPierro

unread,
Jan 24, 2026, 12:12:48 PMJan 24
to py4web
I applied this changes. I was able to reproduce and I suspect it is browser dependent. It has been bothering me for some time.
I only applied the change to daskboard not to the upstream no.css since this I am looking for a more general solution.

Massimo

Reply all
Reply to author
Forward
0 new messages