Perfect header alignment - logo, title, and tagline at same height
Browse filesALIGNMENT 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]>
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
|
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 |
-
<
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
</
|
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 |
|