Spaces:
Running
Running
James McCool
commited on
Commit
·
0f81870
1
Parent(s):
049e846
Enhance DataTable styling with custom font size
Browse files- Add custom CSS to set font size for DataTable cells
- Improve readability of data tables in the Streamlit app
app.py
CHANGED
@@ -58,6 +58,10 @@ st.markdown("""
|
|
58 |
background-color: #DAA520;
|
59 |
cursor: pointer;
|
60 |
}
|
|
|
|
|
|
|
|
|
61 |
</style>""", unsafe_allow_html=True)
|
62 |
|
63 |
@st.cache_resource(ttl = 60)
|
|
|
58 |
background-color: #DAA520;
|
59 |
cursor: pointer;
|
60 |
}
|
61 |
+
|
62 |
+
table.dataTable td {
|
63 |
+
font-size: 1em;
|
64 |
+
}
|
65 |
</style>""", unsafe_allow_html=True)
|
66 |
|
67 |
@st.cache_resource(ttl = 60)
|