File tree 1 file changed +14
-7
lines changed
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,21 @@ def get_svg_base64(svg_content):
74
74
overflow-wrap: break-word;
75
75
}
76
76
77
- /* Style chat input text color */
78
- .stChatInput > div > textarea::placeholder {
79
- color: var(--white) !important;
80
- }
77
+ /* Target both placeholder and actual text */
78
+ .stChatInput textarea,
79
+ .stChatInput textarea::placeholder,
80
+ .stChatInput textarea:not(:placeholder-shown) {
81
+ color: white !important;
82
+ }
83
+
84
+ /* Force text color for active input */
85
+ .stChatInput textarea:focus {
86
+ color: white !important;
87
+ }
81
88
82
- /* Style placeholder text color */
83
- .stTextInput input::placeholder, .stTextInput textarea::placeholder {
84
- color: var(-- white) ;
89
+ /* Target the wrapper to ensure color inheritance */
90
+ [data-testid="stChatInput"] > div {
91
+ color: white !important ;
85
92
}
86
93
</style>
87
94
""" , unsafe_allow_html = True )
You can’t perform that action at this time.
0 commit comments