James McCool commited on
Commit
a2b1e06
·
1 Parent(s): e40b70b

Update app.py to change the background color of the select dropdown and adjust the column index for the "Load/Reset Data" button, improving UI consistency and layout.

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -53,6 +53,10 @@ st.markdown("""
53
  background-color: #FFD700;
54
  cursor: pointer;
55
  }
 
 
 
 
56
  </style>""", unsafe_allow_html=True)
57
 
58
  @st.cache_resource(ttl = 60)
@@ -123,7 +127,7 @@ with st.container():
123
  with col3:
124
  container = st.container()
125
  with container:
126
- col = st.columns(3)[1] # Create 3 columns and use middle one
127
  with col:
128
  if st.button("Load/Reset Data", key='reset'):
129
  st.cache_data.clear()
 
53
  background-color: #FFD700;
54
  cursor: pointer;
55
  }
56
+
57
+ div[data-baseweb="select"] > div {
58
+ background-color:rgb(134, 255, 164);
59
+ }
60
  </style>""", unsafe_allow_html=True)
61
 
62
  @st.cache_resource(ttl = 60)
 
127
  with col3:
128
  container = st.container()
129
  with container:
130
+ col = st.columns(3)[2] # Create 3 columns and use middle one
131
  with col:
132
  if st.button("Load/Reset Data", key='reset'):
133
  st.cache_data.clear()