carlos / platform Public

console: operator tables keep one row per line on a phone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 371d88bae6cd7b4654147226c95fb7dfe29745db parent 3cf8755
1 file changed, +13 −0
  • internal/console/static/ops.css +13 −0
diff --git a/internal/console/static/ops.css b/internal/console/static/ops.css
index 126fd5556..ec1811a57 100644
--- a/internal/console/static/ops.css
+++ b/internal/console/static/ops.css
@@ -27,6 +27,19 @@
[co-cols="boxes"] { --rst-cols: minmax(8rem, 1fr) 7rem 6rem minmax(9rem, 1.4fr) 8rem; }
[co-cols="jobs"] { --rst-cols: minmax(10rem, 1.5fr) 9rem 8rem minmax(10rem, 2fr); }
+/* On a phone, Rastrillo's rows drop to a name and one value (its
+ rst-m-hide hides the rest, at the same 800px). These lists have no
+ kebab, so each keeps two cells on two columns and hides the others,
+ head row included: one row per line, never a cell wrapped below. */
+@media (max-width: 800px) {
+ [co-cols] > [rst-lrow] { grid-template-columns: minmax(0, 1fr) auto; }
+ [co-cols="activity"] > [rst-lrow] { grid-template-columns: auto minmax(0, 1fr); }
+ [co-cols="people"] > [rst-lrow] > :is(:nth-child(2), :nth-child(4)),
+ [co-cols="activity"] > [rst-lrow] > :is(:nth-child(2), :nth-child(4)),
+ [co-cols="boxes"] > [rst-lrow] > :nth-child(n+3),
+ [co-cols="jobs"] > [rst-lrow] > :nth-child(n+3) { display: none; }
+}
+
/* A quiet note under a table or a band: what today's pages wrote as a
<p class="small">. */
[co-note] { color: var(--rst-text-faint); font-size: var(--rst-fs-sm); margin: var(--rst-sp-2) 0 0; }