AaronTekle commited on
Commit
c697b70
·
verified ·
1 Parent(s): e78f079

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +61 -0
app.py CHANGED
@@ -2169,6 +2169,67 @@ ul.options[role="listbox"] {
2169
  }
2170
  }
2171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2172
  '''
2173
 
2174
 
 
2169
  }
2170
  }
2171
 
2172
+
2173
+ /* =========================================================
2174
+ REQUESTED RESPONSIVE BUTTON / TAB REFINEMENTS
2175
+ Scope: only the three items requested in the UI review.
2176
+ ========================================================= */
2177
+
2178
+ /* 1) Wide desktop: keep the three ML Modeling actions centered as a group.
2179
+ Laptop behavior (<=1450px) remains unchanged. */
2180
+ @media (min-width: 1451px) {
2181
+ .model-action-row {
2182
+ max-width: 850px !important;
2183
+ margin: 24px auto 0 !important;
2184
+ justify-content: center !important;
2185
+ gap: 18px !important;
2186
+ }
2187
+
2188
+ .model-action-row > *,
2189
+ .model-action-row #train-button,
2190
+ .model-action-row #compare-button,
2191
+ .model-action-row #code-button {
2192
+ flex: 0 1 260px !important;
2193
+ width: 260px !important;
2194
+ max-width: 260px !important;
2195
+ min-width: 0 !important;
2196
+ }
2197
+ }
2198
+
2199
+ /* 2) Agent result tabs: smaller, lighter, and spaced apart instead of filling
2200
+ the full panel width. */
2201
+ #agent-result-tabs [role="tablist"] {
2202
+ max-width: 540px !important;
2203
+ gap: 18px !important;
2204
+ margin: 14px auto 0 !important;
2205
+ padding: 0 !important;
2206
+ background: transparent !important;
2207
+ }
2208
+
2209
+ #agent-result-tabs button[role="tab"] {
2210
+ min-height: 36px !important;
2211
+ padding: 7px 12px !important;
2212
+ border-radius: 9px !important;
2213
+ font-size: 12px !important;
2214
+ line-height: 1.15 !important;
2215
+ }
2216
+
2217
+ /* 3) Primary 01 / 02 / 03 tabs: reduce vertical bulk and leave a clean gutter
2218
+ above the tab-rail divider so the button bottoms do not crowd/overlap it. */
2219
+ @media (min-width: 801px) {
2220
+ #main-tabs [role="tablist"] {
2221
+ min-height: 0 !important;
2222
+ padding: 7px 14px 11px !important;
2223
+ align-items: center !important;
2224
+ }
2225
+
2226
+ #main-tabs button[role="tab"] {
2227
+ min-height: 42px !important;
2228
+ padding: 8px 12px !important;
2229
+ border-radius: 12px !important;
2230
+ }
2231
+ }
2232
+
2233
  '''
2234
 
2235