James McCool
commited on
Commit
·
34ee0c2
1
Parent(s):
90fa87c
Update column layout for export options in app.py: adjust button column widths to improve UI spacing and enhance user experience when downloading portfolios.
Browse files
app.py
CHANGED
@@ -1201,7 +1201,7 @@ with tab2:
|
|
1201 |
st.session_state['export_file'][col] = st.session_state['export_file'][col].map(st.session_state['export_dict'])
|
1202 |
|
1203 |
if 'export_file' in st.session_state:
|
1204 |
-
download_port, merge_port, partial_col, clear_export, blank_export_col = st.columns([1, 1, 1, 8])
|
1205 |
with download_port:
|
1206 |
st.download_button(label="Download Portfolio", data=st.session_state['export_file'].to_csv(index=False), file_name="portfolio.csv", mime="text/csv")
|
1207 |
with merge_port:
|
|
|
1201 |
st.session_state['export_file'][col] = st.session_state['export_file'][col].map(st.session_state['export_dict'])
|
1202 |
|
1203 |
if 'export_file' in st.session_state:
|
1204 |
+
download_port, merge_port, partial_col, clear_export, blank_export_col = st.columns([1, 1, 1, 1, 8])
|
1205 |
with download_port:
|
1206 |
st.download_button(label="Download Portfolio", data=st.session_state['export_file'].to_csv(index=False), file_name="portfolio.csv", mime="text/csv")
|
1207 |
with merge_port:
|