Spaces:
Running
Running
James McCool
commited on
Commit
·
9bf7ef1
1
Parent(s):
aa506c0
Update CSS selectors for Streamlit table headers from 'glideDataEditor' to 'dvn-underlay'
Browse filesModify table header styling to use a different CSS class selector, maintaining the existing gold color scheme and hover effects while adapting to potential changes in Streamlit's underlying component classes
app.py
CHANGED
@@ -102,7 +102,7 @@ st.markdown("""
|
|
102 |
}
|
103 |
|
104 |
/* Table header styling */
|
105 |
-
.
|
106 |
background-color: #FFD700 !important;
|
107 |
color: white !important;
|
108 |
font-weight: bold !important;
|
@@ -112,7 +112,7 @@ st.markdown("""
|
|
112 |
}
|
113 |
|
114 |
/* Hover effect for table headers */
|
115 |
-
.
|
116 |
background-color: #DAA520 !important;
|
117 |
cursor: pointer;
|
118 |
}
|
|
|
102 |
}
|
103 |
|
104 |
/* Table header styling */
|
105 |
+
.dvn-underlay [role="columnheader"] {
|
106 |
background-color: #FFD700 !important;
|
107 |
color: white !important;
|
108 |
font-weight: bold !important;
|
|
|
112 |
}
|
113 |
|
114 |
/* Hover effect for table headers */
|
115 |
+
.dvn-underlay [role="columnheader"]:hover {
|
116 |
background-color: #DAA520 !important;
|
117 |
cursor: pointer;
|
118 |
}
|