Spaces:
Running
Running
axeronis commited on
Commit ·
746a7ef
1
Parent(s): aa7040b
CRITICAL FIX: make input text visible globally
Browse files- Added global CSS rule to force dark text (#0f172a) in all input/textarea
- Fixes white-on-white text invisibility bug across entire platform
- Override for dark background inputs to keep white text
Root cause: body sets color: white globally, but inputs use bg-slate-50 (light)
Result: white text on light background = invisible text
- frontend/app/globals.css +15 -0
frontend/app/globals.css
CHANGED
|
@@ -29,6 +29,21 @@ body {
|
|
| 29 |
min-height: 100vh;
|
| 30 |
}
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
/* Premium Scrollbar */
|
| 33 |
::-webkit-scrollbar {
|
| 34 |
width: 8px;
|
|
|
|
| 29 |
min-height: 100vh;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
/* CRITICAL FIX: Force visible text in input/textarea elements */
|
| 33 |
+
input,
|
| 34 |
+
textarea,
|
| 35 |
+
select {
|
| 36 |
+
color: #0f172a !important; /* slate-900 - dark text for visibility on light backgrounds */
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/* Override for dark mode inputs if needed */
|
| 40 |
+
input[class*="bg-slate-900"],
|
| 41 |
+
input[class*="bg-slate-800"],
|
| 42 |
+
textarea[class*="bg-slate-900"],
|
| 43 |
+
textarea[class*="bg-slate-800"] {
|
| 44 |
+
color: #ffffff !important; /* white text for dark backgrounds */
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
/* Premium Scrollbar */
|
| 48 |
::-webkit-scrollbar {
|
| 49 |
width: 8px;
|