Spaces:
Build error
Build error
Romeo David commited on
Commit ·
5c82300
1
Parent(s): 84627a6
Enhance button functionality in DigitalFootprintDashboard to use full container width for improved layout
Browse files- pages/home.py +2 -2
pages/home.py
CHANGED
|
@@ -46,14 +46,14 @@ class DigitalFootprintDashboard:
|
|
| 46 |
|
| 47 |
with col1:
|
| 48 |
|
| 49 |
-
self.upload_file_button = st.button("Sync Data", st.session_state['analyze'], icon="🔄")
|
| 50 |
if self.upload_file_button == True:
|
| 51 |
st.session_state["analyze"] = 'clicked'
|
| 52 |
unhide_button()
|
| 53 |
else:
|
| 54 |
st.session_state["analyze"] = ''
|
| 55 |
|
| 56 |
-
self.analyze_button = st.button("Analyze", icon="✨")
|
| 57 |
if self.analyze_button == True:
|
| 58 |
st.switch_page("pages/analyzing_page.py")
|
| 59 |
else:
|
|
|
|
| 46 |
|
| 47 |
with col1:
|
| 48 |
|
| 49 |
+
self.upload_file_button = st.button("Sync Data", st.session_state['analyze'], icon="🔄", use_container_width=True)
|
| 50 |
if self.upload_file_button == True:
|
| 51 |
st.session_state["analyze"] = 'clicked'
|
| 52 |
unhide_button()
|
| 53 |
else:
|
| 54 |
st.session_state["analyze"] = ''
|
| 55 |
|
| 56 |
+
self.analyze_button = st.button("Analyze", icon="✨", use_container_width=True)
|
| 57 |
if self.analyze_button == True:
|
| 58 |
st.switch_page("pages/analyzing_page.py")
|
| 59 |
else:
|