Commit ·
242aff0
1
Parent(s): e04e7ca
css: stack action buttons full-width on mobile (fix squished Run Research)
Browse filesAfter the columns stacked, the three action buttons still shared one
254px row as equal flex:1 thirds — too narrow for the two-word "Run
Research" label, which wrapped and, with the pill radius, rendered as a
circle with overflowing text. On <=900px stack the buttons full-width
with nowrap labels and a moderate 12px radius.
app.py
CHANGED
|
@@ -1211,6 +1211,21 @@ footer { display: none !important; }
|
|
| 1211 |
max-width: 100% !important;
|
| 1212 |
flex: 1 1 auto !important;
|
| 1213 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1214 |
}
|
| 1215 |
"""
|
| 1216 |
|
|
|
|
| 1211 |
max-width: 100% !important;
|
| 1212 |
flex: 1 1 auto !important;
|
| 1213 |
}
|
| 1214 |
+
/* Action buttons (Run Research / Stop / Clear): three equal flex:1 columns
|
| 1215 |
+
don't leave room for the two-word "Run Research" label on a phone, so it
|
| 1216 |
+
squished into a circle with overflowing text. Stack them full-width. */
|
| 1217 |
+
.action-row {
|
| 1218 |
+
flex-wrap: wrap !important;
|
| 1219 |
+
gap: 8px !important;
|
| 1220 |
+
}
|
| 1221 |
+
.action-row > * {
|
| 1222 |
+
flex: 1 1 100% !important;
|
| 1223 |
+
min-width: 100% !important;
|
| 1224 |
+
}
|
| 1225 |
+
.action-row button {
|
| 1226 |
+
white-space: nowrap !important;
|
| 1227 |
+
border-radius: 12px !important;
|
| 1228 |
+
}
|
| 1229 |
}
|
| 1230 |
"""
|
| 1231 |
|