CodexCLI Bot commited on
Commit
9660b84
·
1 Parent(s): e5d3c5f

UI: tighten vertical spacing between header and input/output (reduce margins on titles, paragraphs, rows, accordions)

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -3720,6 +3720,16 @@ Please be patient — each paper takes about 8–10 minutes to process.
3720
  This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/index.html) and [UWaterloo](https://uwaterloo.ca/), has been accepted to [NeurIPS 2025 D&B](https://neurips.cc/).
3721
  The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
3722
  """)
 
 
 
 
 
 
 
 
 
 
3723
  # Top-right logos (camel, tvg, waterloo) if available
3724
  gr.HTML(_ui_header_logos_html())
3725
 
 
3720
  This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/index.html) and [UWaterloo](https://uwaterloo.ca/), has been accepted to [NeurIPS 2025 D&B](https://neurips.cc/).
3721
  The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
3722
  """)
3723
+ # Compact global spacing to reduce gap between header and inputs
3724
+ gr.HTML(
3725
+ "<style>"
3726
+ ".gradio-container .prose h1{margin-bottom:0.4rem!important;}"
3727
+ ".gradio-container .prose p{margin:0.2rem 0!important;}"
3728
+ ".gradio-container .gr-row{margin-top:0.25rem!important;}"
3729
+ ".gradio-container .gr-accordion{margin-top:0.25rem!important;}"
3730
+ "</style>"
3731
+ )
3732
+
3733
  # Top-right logos (camel, tvg, waterloo) if available
3734
  gr.HTML(_ui_header_logos_html())
3735