CodexCLI Bot commited on
Commit
19eeafd
·
1 Parent(s): 764d591

UI: move CAMEL line into HTML with zero bottom margin to eliminate gap; keep first row top margin minimal

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -4075,9 +4075,12 @@ Please be patient — each paper takes about 8–10 minutes to process.
4075
  # Top-right logos (camel, tvg, waterloo) if available
4076
  gr.HTML(_ui_header_logos_html())
4077
 
 
 
 
4078
  # -------- Input box --------
4079
- # Targeted spacing tweak: reduce the top margin only before the main row
4080
- gr.HTML("<style>#main-row{margin-top:6px!important}</style>")
4081
  with gr.Row(elem_id="main-row"):
4082
  # ========== LEFT: INPUT ==========
4083
  with gr.Column(scale=1):
 
4075
  # Top-right logos (camel, tvg, waterloo) if available
4076
  gr.HTML(_ui_header_logos_html())
4077
 
4078
+ # Place the CAMEL line as raw HTML with zero bottom margin to remove extra gap
4079
+ gr.HTML("<div style='margin:4px 0 0 0;line-height:1.25'>The framework builds upon 🐪 <a href='https://github.com/camel-ai/camel' target='_blank' rel='noopener'>CAMEL-ai</a>.</div>")
4080
+
4081
  # -------- Input box --------
4082
+ # Precise spacing collapse: ensure minimal gap above first row
4083
+ gr.HTML("<style>#main-row{margin-top:2px!important}</style>")
4084
  with gr.Row(elem_id="main-row"):
4085
  # ========== LEFT: INPUT ==========
4086
  with gr.Column(scale=1):