James McCool commited on
Commit
33348fa
·
1 Parent(s): cc619fc

addressing some divs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1947,7 +1947,7 @@ if selected_tab == 'Manage Portfolio':
1947
  st.session_state['base_frame_names'] = {}
1948
  if 'origin_portfolio' in st.session_state and 'projections_df' in st.session_state:
1949
  with st.container():
1950
- reset_port_col, recalc_stacks_col, recalc_div_col, set_base_col, blank_reset_col, contest_size_col = st.columns([.15, .15, .15, .15, .35, .30])
1951
  with reset_port_col:
1952
  with st.popover("Reset Portfolio"):
1953
  st.markdown("choose a base to reset to:")
@@ -1959,7 +1959,7 @@ if selected_tab == 'Manage Portfolio':
1959
  else:
1960
  st.info("No saved base frames available")
1961
  with recalc_stacks_col:
1962
- if st.button("Recalculate Stacks and Sizes"):
1963
  st.session_state['working_frame'] = recalc_stacks_sizes(st.session_state['working_frame'], st.session_state['player_columns'], st.session_state['map_dict'])
1964
  st.rerun()
1965
  with recalc_div_col:
 
1947
  st.session_state['base_frame_names'] = {}
1948
  if 'origin_portfolio' in st.session_state and 'projections_df' in st.session_state:
1949
  with st.container():
1950
+ reset_port_col, recalc_stacks_col, recalc_div_col, set_base_col, blank_reset_col, contest_size_col = st.columns([.15, .10, .10, .10, .30, .25])
1951
  with reset_port_col:
1952
  with st.popover("Reset Portfolio"):
1953
  st.markdown("choose a base to reset to:")
 
1959
  else:
1960
  st.info("No saved base frames available")
1961
  with recalc_stacks_col:
1962
+ if st.button("Recalculate Stacks"):
1963
  st.session_state['working_frame'] = recalc_stacks_sizes(st.session_state['working_frame'], st.session_state['player_columns'], st.session_state['map_dict'])
1964
  st.rerun()
1965
  with recalc_div_col: