Spaces:
Running on Zero
Running on Zero
Tighten inference controls and joint selector spacing
Browse files
app.py
CHANGED
|
@@ -217,7 +217,7 @@ DEMO_CSS = """
|
|
| 217 |
border-radius: 8px !important;
|
| 218 |
background: var(--demo-control-bg) !important;
|
| 219 |
box-shadow: 0 1px 2px var(--demo-control-shadow) !important;
|
| 220 |
-
padding: 8px 10px
|
| 221 |
height: auto !important;
|
| 222 |
min-height: 0 !important;
|
| 223 |
max-height: none !important;
|
|
@@ -406,7 +406,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 |
}
|
|
@@ -1036,8 +1036,9 @@ KINEMATIC_TREE_EDITOR_CSS = """
|
|
| 1036 |
display: inline-flex;
|
| 1037 |
align-items: center;
|
| 1038 |
gap: 5px;
|
| 1039 |
-
height:
|
| 1040 |
-
|
|
|
|
| 1041 |
border: 1px solid var(--kin-label-border);
|
| 1042 |
border-radius: 7px;
|
| 1043 |
background: var(--kin-label-bg);
|
|
@@ -1058,6 +1059,7 @@ KINEMATIC_TREE_EDITOR_CSS = """
|
|
| 1058 |
-webkit-appearance: menulist !important;
|
| 1059 |
height: 24px;
|
| 1060 |
max-width: 92px;
|
|
|
|
| 1061 |
border: 1px solid var(--kin-control-border) !important;
|
| 1062 |
border-radius: 5px !important;
|
| 1063 |
background: var(--kin-control-bg) !important;
|
|
|
|
| 217 |
border-radius: 8px !important;
|
| 218 |
background: var(--demo-control-bg) !important;
|
| 219 |
box-shadow: 0 1px 2px var(--demo-control-shadow) !important;
|
| 220 |
+
padding: 8px 10px !important;
|
| 221 |
height: auto !important;
|
| 222 |
min-height: 0 !important;
|
| 223 |
max-height: none !important;
|
|
|
|
| 406 |
flex: 0 0 40px !important;
|
| 407 |
height: 40px !important;
|
| 408 |
min-height: 40px !important;
|
| 409 |
+
margin-top: -6px !important;
|
| 410 |
align-items: stretch !important;
|
| 411 |
gap: 0 !important;
|
| 412 |
}
|
|
|
|
| 1036 |
display: inline-flex;
|
| 1037 |
align-items: center;
|
| 1038 |
gap: 5px;
|
| 1039 |
+
min-height: 34px;
|
| 1040 |
+
height: auto;
|
| 1041 |
+
padding: 2px 4px 2px 6px;
|
| 1042 |
border: 1px solid var(--kin-label-border);
|
| 1043 |
border-radius: 7px;
|
| 1044 |
background: var(--kin-label-bg);
|
|
|
|
| 1059 |
-webkit-appearance: menulist !important;
|
| 1060 |
height: 24px;
|
| 1061 |
max-width: 92px;
|
| 1062 |
+
margin: 2px 0 !important;
|
| 1063 |
border: 1px solid var(--kin-control-border) !important;
|
| 1064 |
border-radius: 5px !important;
|
| 1065 |
background: var(--kin-control-bg) !important;
|