Spaces:
Runtime error
Runtime error
Update style.css
Browse files
style.css
CHANGED
|
@@ -127,7 +127,7 @@ body {
|
|
| 127 |
max-width: 70ch;
|
| 128 |
}
|
| 129 |
|
| 130 |
-
|
| 131 |
.gradio-container .gr-panel,
|
| 132 |
.gradio-container [class*="gr-box"],
|
| 133 |
.gradio-container .gr-form,
|
|
@@ -276,27 +276,6 @@ body {
|
|
| 276 |
box-shadow: 0 14px 40px rgba(0,0,0,0.22) !important;
|
| 277 |
}
|
| 278 |
|
| 279 |
-
/* IMAGES general */
|
| 280 |
-
.gradio-container img {
|
| 281 |
-
width: auto !important;
|
| 282 |
-
height: auto !important;
|
| 283 |
-
max-width: 100% !important;
|
| 284 |
-
max-height: 100% !important;
|
| 285 |
-
object-fit: contain !important;
|
| 286 |
-
display: block !important;
|
| 287 |
-
}
|
| 288 |
-
|
| 289 |
-
/* IMPORTANT: kill any leftover preview containers if some Gradio version still renders them */
|
| 290 |
-
#down_gallery .gr-gallery-preview,
|
| 291 |
-
#strange_gallery .gr-gallery-preview,
|
| 292 |
-
#down_gallery [data-testid="gallery-preview"],
|
| 293 |
-
#strange_gallery [data-testid="gallery-preview"] {
|
| 294 |
-
display: none !important;
|
| 295 |
-
visibility: hidden !important;
|
| 296 |
-
height: 0 !important;
|
| 297 |
-
overflow: hidden !important;
|
| 298 |
-
}
|
| 299 |
-
|
| 300 |
/* ===== Gallery (ONLY filmstrip) — NO [class*="gallery"] selectors ===== */
|
| 301 |
#down_gallery, #strange_gallery { margin-top: 12px !important; }
|
| 302 |
|
|
|
|
| 127 |
max-width: 70ch;
|
| 128 |
}
|
| 129 |
|
| 130 |
+
|
| 131 |
.gradio-container .gr-panel,
|
| 132 |
.gradio-container [class*="gr-box"],
|
| 133 |
.gradio-container .gr-form,
|
|
|
|
| 276 |
box-shadow: 0 14px 40px rgba(0,0,0,0.22) !important;
|
| 277 |
}
|
| 278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 279 |
/* ===== Gallery (ONLY filmstrip) — NO [class*="gallery"] selectors ===== */
|
| 280 |
#down_gallery, #strange_gallery { margin-top: 12px !important; }
|
| 281 |
|