TabeebAI commited on
Commit
de2f041
Β·
1 Parent(s): 58f5429

Fix invisible caret and placeholder in text inputs: add caret-color cyan, consolidate placeholder styles

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -632,10 +632,6 @@ st.markdown("""
632
 
633
 
634
  /* ── Textarea placeholder ── */
635
- .stTextArea textarea::placeholder {
636
- color: var(--text-muted) !important;
637
- opacity: 1 !important;
638
- }
639
  .stTextInput input::placeholder {
640
  color: var(--text-muted) !important;
641
  opacity: 1 !important;
@@ -728,6 +724,11 @@ section[data-testid="stSidebar"] .block-container {
728
  font-family: var(--font-main) !important;
729
  font-size: 0.9rem !important;
730
  transition: border-color 0.2s ease !important;
 
 
 
 
 
731
  }
732
  .stTextArea textarea:focus, .stTextInput input:focus {
733
  border-color: var(--cyan) !important;
 
632
 
633
 
634
  /* ── Textarea placeholder ── */
 
 
 
 
635
  .stTextInput input::placeholder {
636
  color: var(--text-muted) !important;
637
  opacity: 1 !important;
 
724
  font-family: var(--font-main) !important;
725
  font-size: 0.9rem !important;
726
  transition: border-color 0.2s ease !important;
727
+ caret-color: var(--cyan) !important;
728
+ }
729
+ .stTextArea textarea::placeholder, .stTextInput input::placeholder {
730
+ color: var(--text-muted) !important;
731
+ opacity: 1 !important;
732
  }
733
  .stTextArea textarea:focus, .stTextInput input:focus {
734
  border-color: var(--cyan) !important;