James McCool commited on
Commit
361017e
·
1 Parent(s): b9ba217

Refine Streamlit DataFrame CSS targeting

Browse files

- Update CSS selector to specifically target Streamlit DataFrame component
- Improve precision of font size styling for data tables

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ st.markdown("""
59
  cursor: pointer;
60
  }
61
 
62
- .stDataFrame {
63
  font-size: 1em;
64
  }
65
  </style>""", unsafe_allow_html=True)
 
59
  cursor: pointer;
60
  }
61
 
62
+ .stTabs [data-testid="stDataFrameResizable"] {
63
  font-size: 1em;
64
  }
65
  </style>""", unsafe_allow_html=True)