Spaces:
Running on Zero
Running on Zero
Adjust inference control spacing
Browse files
app.py
CHANGED
|
@@ -226,7 +226,7 @@ DEMO_CSS = """
|
|
| 226 |
background: var(--demo-control-bg) !important;
|
| 227 |
}
|
| 228 |
.inference-params-panel .form {
|
| 229 |
-
gap:
|
| 230 |
min-height: 0 !important;
|
| 231 |
padding: 0 !important;
|
| 232 |
background: transparent !important;
|
|
@@ -241,6 +241,9 @@ DEMO_CSS = """
|
|
| 241 |
padding-bottom: 0 !important;
|
| 242 |
background: transparent !important;
|
| 243 |
}
|
|
|
|
|
|
|
|
|
|
| 244 |
.inference-params-help,
|
| 245 |
.inference-params-help > div,
|
| 246 |
.inference-params-help p {
|
|
@@ -406,7 +409,7 @@ DEMO_CSS = """
|
|
| 406 |
flex: 0 0 40px !important;
|
| 407 |
height: 40px !important;
|
| 408 |
min-height: 40px !important;
|
| 409 |
-
margin-top:
|
| 410 |
align-items: stretch !important;
|
| 411 |
gap: 0 !important;
|
| 412 |
}
|
|
|
|
| 226 |
background: var(--demo-control-bg) !important;
|
| 227 |
}
|
| 228 |
.inference-params-panel .form {
|
| 229 |
+
gap: 0 !important;
|
| 230 |
min-height: 0 !important;
|
| 231 |
padding: 0 !important;
|
| 232 |
background: transparent !important;
|
|
|
|
| 241 |
padding-bottom: 0 !important;
|
| 242 |
background: transparent !important;
|
| 243 |
}
|
| 244 |
+
.inference-params-panel .toggle-switch {
|
| 245 |
+
margin-bottom: 6px !important;
|
| 246 |
+
}
|
| 247 |
.inference-params-help,
|
| 248 |
.inference-params-help > div,
|
| 249 |
.inference-params-help p {
|
|
|
|
| 409 |
flex: 0 0 40px !important;
|
| 410 |
height: 40px !important;
|
| 411 |
min-height: 40px !important;
|
| 412 |
+
margin-top: 0 !important;
|
| 413 |
align-items: stretch !important;
|
| 414 |
gap: 0 !important;
|
| 415 |
}
|