James McCool
commited on
Commit
·
851f97e
1
Parent(s):
11d73be
Adjust column widths in 'Manage Portfolio' section of 'app.py' to improve layout and enhance user interaction with the reset portfolio button.
Browse files
app.py
CHANGED
|
@@ -1084,7 +1084,7 @@ if selected_tab == 'Data Load':
|
|
| 1084 |
if selected_tab == 'Manage Portfolio':
|
| 1085 |
if 'origin_portfolio' in st.session_state and 'projections_df' in st.session_state:
|
| 1086 |
with st.container():
|
| 1087 |
-
reset_port_col, recalc_div_col, blank_reset_col, contest_size_col = st.columns([
|
| 1088 |
with reset_port_col:
|
| 1089 |
if st.button('Reset Portfolio', key='reset_port'):
|
| 1090 |
st.session_state['settings_base'] = True
|
|
|
|
| 1084 |
if selected_tab == 'Manage Portfolio':
|
| 1085 |
if 'origin_portfolio' in st.session_state and 'projections_df' in st.session_state:
|
| 1086 |
with st.container():
|
| 1087 |
+
reset_port_col, recalc_div_col, blank_reset_col, contest_size_col = st.columns([1, 1, 6, 4])
|
| 1088 |
with reset_port_col:
|
| 1089 |
if st.button('Reset Portfolio', key='reset_port'):
|
| 1090 |
st.session_state['settings_base'] = True
|