chenemii commited on
Commit
27522c2
·
1 Parent(s): e21a584

Fix logo size and reduce spacing

Browse files

- Reduce logo width from 1500px to 400px for appropriate sizing
- Maintain aspect ratio (width 400px ≈ height 147px)
- Add negative margin to reduce buffer between logo and Step 1
- Logo remains centered but now properly proportioned
- Eliminates abnormally large logo display issue

Files changed (1) hide show
  1. app/streamlit_app.py +4 -1
app/streamlit_app.py CHANGED
@@ -643,13 +643,16 @@ def main():
643
 
644
  with col2:
645
  try:
646
- st.image("app/transparent.png", width=1500)
647
  except:
648
  st.markdown('<div class="main-header"><h1>⛳ Par-ity Project</h1></div>', unsafe_allow_html=True)
649
 
650
  with col3:
651
  st.write("") # Empty space
652
 
 
 
 
653
  # Initialize session state for step-based flow
654
  if 'current_step' not in st.session_state:
655
  st.session_state.current_step = 1
 
643
 
644
  with col2:
645
  try:
646
+ st.image("app/transparent.png", width=400)
647
  except:
648
  st.markdown('<div class="main-header"><h1>⛳ Par-ity Project</h1></div>', unsafe_allow_html=True)
649
 
650
  with col3:
651
  st.write("") # Empty space
652
 
653
+ # Reduce spacing after logo
654
+ st.markdown('<div style="margin-top: -20px;"></div>', unsafe_allow_html=True)
655
+
656
  # Initialize session state for step-based flow
657
  if 'current_step' not in st.session_state:
658
  st.session_state.current_step = 1