Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +12 -15
index.html
CHANGED
|
@@ -88,12 +88,12 @@ select:hover,select:focus{border-color:var(--accent)}
|
|
| 88 |
#splash-content p{font-size:0.9rem;margin-bottom:24px}
|
| 89 |
#splash-content .cta{font-size:0.78rem;padding:8px 22px}
|
| 90 |
|
| 91 |
-
/* App: vertical layout */
|
| 92 |
-
#app{flex-direction:column;height:
|
| 93 |
|
| 94 |
/* Sidebar → top panel */
|
| 95 |
#sidebar{width:100%;min-width:unset;flex-direction:column;gap:10px;padding:14px 16px;
|
| 96 |
-
border-right:none;border-bottom:1px solid var(--border);
|
| 97 |
#sidebar h1{font-size:1.1rem}
|
| 98 |
#sidebar p.sub{display:none}
|
| 99 |
.control-group{flex-direction:row;align-items:center;gap:8px}
|
|
@@ -107,18 +107,15 @@ select:hover,select:focus{border-color:var(--accent)}
|
|
| 107 |
|
| 108 |
.credits{display:none}
|
| 109 |
|
| 110 |
-
/* Main
|
| 111 |
-
#main{flex:
|
| 112 |
-
#viewer-container{min-height:
|
| 113 |
#viewer-label{font-size:0.6rem;top:6px;left:8px;padding:2px 8px}
|
| 114 |
|
| 115 |
-
/* Fields panel:
|
| 116 |
-
#fields-panel{height:
|
| 117 |
-
.field-container{padding:8px 12px}
|
| 118 |
-
.field-container+.field-container{border-left:none;border-top:1px solid var(--border)}
|
| 119 |
.field-title{font-size:0.72rem;margin-bottom:4px}
|
| 120 |
-
.field-canvas-wrap{height:
|
| 121 |
-
.field-canvas-wrap canvas{max-height:110px}
|
| 122 |
}
|
| 123 |
|
| 124 |
/* Small phones */
|
|
@@ -127,9 +124,9 @@ select:hover,select:focus{border-color:var(--accent)}
|
|
| 127 |
#splash-content p{font-size:0.8rem}
|
| 128 |
#sidebar{padding:10px 12px;gap:8px}
|
| 129 |
.control-group{flex-direction:column;gap:4px}
|
| 130 |
-
#viewer-container{min-height:220px}
|
| 131 |
-
|
| 132 |
-
.field-canvas-wrap canvas{max-height:
|
| 133 |
}
|
| 134 |
</style>
|
| 135 |
</head>
|
|
|
|
| 88 |
#splash-content p{font-size:0.9rem;margin-bottom:24px}
|
| 89 |
#splash-content .cta{font-size:0.78rem;padding:8px 22px}
|
| 90 |
|
| 91 |
+
/* App: vertical scrollable layout */
|
| 92 |
+
#app{flex-direction:column;height:auto;min-height:100vh;overflow:visible}
|
| 93 |
|
| 94 |
/* Sidebar → top panel */
|
| 95 |
#sidebar{width:100%;min-width:unset;flex-direction:column;gap:10px;padding:14px 16px;
|
| 96 |
+
border-right:none;border-bottom:1px solid var(--border);flex-shrink:0}
|
| 97 |
#sidebar h1{font-size:1.1rem}
|
| 98 |
#sidebar p.sub{display:none}
|
| 99 |
.control-group{flex-direction:row;align-items:center;gap:8px}
|
|
|
|
| 107 |
|
| 108 |
.credits{display:none}
|
| 109 |
|
| 110 |
+
/* Main: no flex grow, fixed heights */
|
| 111 |
+
#main{flex:none;width:100%}
|
| 112 |
+
#viewer-container{height:50vh;min-height:260px;flex:none}
|
| 113 |
#viewer-label{font-size:0.6rem;top:6px;left:8px;padding:2px 8px}
|
| 114 |
|
| 115 |
+
/* Fields panel: side by side but shorter */
|
| 116 |
+
#fields-panel{height:180px;min-height:180px;flex-shrink:0}
|
|
|
|
|
|
|
| 117 |
.field-title{font-size:0.72rem;margin-bottom:4px}
|
| 118 |
+
.field-canvas-wrap canvas{max-height:130px}
|
|
|
|
| 119 |
}
|
| 120 |
|
| 121 |
/* Small phones */
|
|
|
|
| 124 |
#splash-content p{font-size:0.8rem}
|
| 125 |
#sidebar{padding:10px 12px;gap:8px}
|
| 126 |
.control-group{flex-direction:column;gap:4px}
|
| 127 |
+
#viewer-container{height:45vh;min-height:220px}
|
| 128 |
+
#fields-panel{height:160px;min-height:160px}
|
| 129 |
+
.field-canvas-wrap canvas{max-height:110px}
|
| 130 |
}
|
| 131 |
</style>
|
| 132 |
</head>
|