Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,6 +195,11 @@ html, body, .gradio-container {
|
|
| 195 |
background: var(--surface-2) !important;
|
| 196 |
}
|
| 197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
/* ββ Upload / paste source buttons βββββββββββββββββββββββββββββββββββ */
|
| 199 |
|
| 200 |
/* Tab strip container */
|
|
@@ -744,7 +749,7 @@ with gr.Blocks(
|
|
| 744 |
|
| 745 |
with gr.Row(equal_height=False):
|
| 746 |
with gr.Column(scale=4, min_width=320):
|
| 747 |
-
with gr.Group(elem_classes=["card", "upload-panel"]):
|
| 748 |
gr.HTML('<div class="card-label">MRI Image</div>')
|
| 749 |
image_input = gr.Image(
|
| 750 |
label="Upload MRI Image",
|
|
|
|
| 195 |
background: var(--surface-2) !important;
|
| 196 |
}
|
| 197 |
|
| 198 |
+
/* Extra bottom padding on upload card so source buttons are never clipped */
|
| 199 |
+
#upload_card {
|
| 200 |
+
padding-bottom: 32px !important;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
/* ββ Upload / paste source buttons βββββββββββββββββββββββββββββββββββ */
|
| 204 |
|
| 205 |
/* Tab strip container */
|
|
|
|
| 749 |
|
| 750 |
with gr.Row(equal_height=False):
|
| 751 |
with gr.Column(scale=4, min_width=320):
|
| 752 |
+
with gr.Group(elem_classes=["card", "upload-panel"], elem_id="upload_card"):
|
| 753 |
gr.HTML('<div class="card-label">MRI Image</div>')
|
| 754 |
image_input = gr.Image(
|
| 755 |
label="Upload MRI Image",
|