Spaces:
Sleeping
Sleeping
CodexCLI Bot
commited on
Commit
·
9a8bc43
1
Parent(s):
f14c9eb
UI: tighten vertical spacing between header and input/output (reduce margins on titles, paragraphs, rows, accordions)
Browse files
app.py
CHANGED
|
@@ -3122,6 +3122,16 @@ This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/i
|
|
| 3122 |
|
| 3123 |
The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
|
| 3124 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3125 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3126 |
gr.HTML(_ui_header_logos_html())
|
| 3127 |
|
|
|
|
| 3122 |
|
| 3123 |
The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
|
| 3124 |
""")
|
| 3125 |
+
# Compact global spacing to reduce gap between header and inputs
|
| 3126 |
+
gr.HTML(
|
| 3127 |
+
"<style>"
|
| 3128 |
+
".gradio-container .prose h1{margin-bottom:0.4rem!important;}"
|
| 3129 |
+
".gradio-container .prose p{margin:0.2rem 0!important;}"
|
| 3130 |
+
".gradio-container .gr-row{margin-top:0.25rem!important;}"
|
| 3131 |
+
".gradio-container .gr-accordion{margin-top:0.25rem!important;}"
|
| 3132 |
+
"</style>"
|
| 3133 |
+
)
|
| 3134 |
+
|
| 3135 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3136 |
gr.HTML(_ui_header_logos_html())
|
| 3137 |
|