Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,7 +199,7 @@ footer { display: none !important; }
|
|
| 199 |
border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
|
| 200 |
#logo { background: transparent !important; border: 0 !important; padding: 0 !important;
|
| 201 |
flex: 0 0 auto !important; min-width: 0 !important; }
|
| 202 |
-
#logo, #logo img { height:
|
| 203 |
#pro-cta a { display: inline-block; padding: 6px 12px; border-radius: 999px;
|
| 204 |
background: linear-gradient(90deg,#ff9500,#34c759); color: #111 !important;
|
| 205 |
font-weight: 600; font-size: 13px; text-decoration: none; }
|
|
@@ -309,7 +309,7 @@ with gr.Blocks(title="File Point Cloud", fill_height=True) as demo:
|
|
| 309 |
# — the "logo flashes big then becomes tiny" bug.
|
| 310 |
gr.Image(
|
| 311 |
value="logo.png", elem_id="logo", show_label=False, container=False,
|
| 312 |
-
interactive=False, buttons=[], height=
|
| 313 |
)
|
| 314 |
# Pro CTA — hidden by default, shown on .load() if the user is logged in
|
| 315 |
# but lacks Pro. For the placeholder it just links out to the upgrade page.
|
|
|
|
| 199 |
border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
|
| 200 |
#logo { background: transparent !important; border: 0 !important; padding: 0 !important;
|
| 201 |
flex: 0 0 auto !important; min-width: 0 !important; }
|
| 202 |
+
#logo, #logo img { height: 120px !important; width: auto !important; object-fit: contain !important; }
|
| 203 |
#pro-cta a { display: inline-block; padding: 6px 12px; border-radius: 999px;
|
| 204 |
background: linear-gradient(90deg,#ff9500,#34c759); color: #111 !important;
|
| 205 |
font-weight: 600; font-size: 13px; text-decoration: none; }
|
|
|
|
| 309 |
# — the "logo flashes big then becomes tiny" bug.
|
| 310 |
gr.Image(
|
| 311 |
value="logo.png", elem_id="logo", show_label=False, container=False,
|
| 312 |
+
interactive=False, buttons=[], height=120, width=120,
|
| 313 |
)
|
| 314 |
# Pro CTA — hidden by default, shown on .load() if the user is logged in
|
| 315 |
# but lacks Pro. For the placeholder it just links out to the upgrade page.
|