CodexCLI Bot commited on
Commit
2d0a752
·
1 Parent(s): a8a5f7d

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
@@ -4353,6 +4353,16 @@ Please be patient — each paper takes about 8–10 minutes to process.
4353
  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/).
4354
  The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
4355
  """)
 
 
 
 
 
 
 
 
 
 
4356
  # Top-right logos (camel, tvg, waterloo) if available
4357
  gr.HTML(_ui_header_logos_html())
4358
 
 
4353
  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/).
4354
  The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
4355
  """)
4356
+ # Compact global spacing to reduce gap between header and inputs
4357
+ gr.HTML(
4358
+ "<style>"
4359
+ ".gradio-container .prose h1{margin-bottom:0.4rem!important;}"
4360
+ ".gradio-container .prose p{margin:0.2rem 0!important;}"
4361
+ ".gradio-container .gr-row{margin-top:0.25rem!important;}"
4362
+ ".gradio-container .gr-accordion{margin-top:0.25rem!important;}"
4363
+ "</style>"
4364
+ )
4365
+
4366
  # Top-right logos (camel, tvg, waterloo) if available
4367
  gr.HTML(_ui_header_logos_html())
4368