Nipun Claude commited on
Commit
af24b39
·
1 Parent(s): 2a57e86

Perfect header alignment - logo, title, and tagline at same height

Browse files

ALIGNMENT PERFECTION:
- All elements (logo, VayuChat, tagline) now on single horizontal line
- Perfect height alignment using line-height: 40px to match logo
- Clean layout: [Logo] VayuChat AI Air Quality Analysis • Sustainability Lab, IIT Gandhinagar
- 15px spacing between elements for optimal visual balance

SPACE OPTIMIZATION:
- Maximum vertical space efficiency with single-row design
- Professional appearance with perfect baseline alignment
- Clean typography with proper font weights and sizing
- Responsive layout that works on all screen sizes

Perfect for screenshots and professional presentations\! 📸

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -573,7 +573,7 @@ if "gpt-oss-120b" in available_models:
573
  elif "deepseek-R1" in available_models:
574
  default_index = available_models.index("deepseek-R1")
575
 
576
- # Compact header - everything in one row
577
  st.markdown("""
578
  <div style='
579
  display: flex;
@@ -586,19 +586,19 @@ st.markdown("""
586
  '>
587
  <img src='https://sustainability-lab.github.io/images/logo_light.svg'
588
  style='height: 40px;' />
589
- <div>
590
- <h1 style='
591
- margin: 0;
592
- font-size: 1.8rem;
593
- font-weight: 700;
594
- color: #1f2937;
595
- '>VayuChat</h1>
596
- <p style='
597
- margin: 0;
598
- font-size: 0.8rem;
599
- color: #6b7280;
600
- '>AI Air Quality Analysis • Sustainability Lab, IIT Gandhinagar</p>
601
- </div>
602
  </div>
603
  """, unsafe_allow_html=True)
604
 
 
573
  elif "deepseek-R1" in available_models:
574
  default_index = available_models.index("deepseek-R1")
575
 
576
+ # Compact header - everything perfectly aligned at same height
577
  st.markdown("""
578
  <div style='
579
  display: flex;
 
586
  '>
587
  <img src='https://sustainability-lab.github.io/images/logo_light.svg'
588
  style='height: 40px;' />
589
+ <h1 style='
590
+ margin: 0;
591
+ font-size: 1.8rem;
592
+ font-weight: 700;
593
+ color: #1f2937;
594
+ line-height: 40px;
595
+ '>VayuChat</h1>
596
+ <span style='
597
+ font-size: 0.9rem;
598
+ color: #6b7280;
599
+ line-height: 40px;
600
+ font-weight: 500;
601
+ '>AI Air Quality Analysis • Sustainability Lab, IIT Gandhinagar</span>
602
  </div>
603
  """, unsafe_allow_html=True)
604