web: the mobile chip strip lies down

Tapping a tab on a phone opened a 148px column with the chips stacked one per
line, so the strip read as a ladder down the side of the photo. Android's own
panel runs its chips as a row — see src/components/AdjustmentPanel.tsx — and
that is what the phone now gets: the columns stack into one vertical scroll
and each chip row runs sideways again, wrapping inside the full width.

Desktop and tablet keep the columns and the stacked chips; the change lives in
the <=860px block.
This commit is contained in:
2026-09-20 07:00:55 +07:00
parent 6afb7d9fea
commit efe578f61c
+18 -5
View File
@@ -785,18 +785,31 @@ input[type="range"] { width: 100%; accent-color: var(--accent); }
}
.rail button .glyph { display: none; }
.rail button[aria-pressed="true"] { font-size: 13px; }
/* The cascade still runs left to right; the columns themselves scroll rather
than the page, so the stage keeps its width. */
/* The panel takes the phone's own shape: the columns stack into one scroll,
and inside each the chips run as a row again — the phone's chip strip is a
line of pills, never a ladder. What was a left-to-right cascade now reads
top to bottom, which is the same order the Android panel shows. */
.chips {
order: 1;
flex-direction: column;
width: auto;
max-width: none;
max-height: 42vh;
overflow-x: hidden;
overflow-y: auto;
border-right: none;
border-bottom: 1px solid var(--border-soft);
}
.col { width: 148px; padding: 8px; }
.col-slider { width: 200px; }
.col-create { width: 260px; }
.col {
width: auto;
padding: 8px;
gap: 6px;
overflow: visible;
border-right: none;
}
/* One chip per line is the desktop column's shape; a phone wants the row. */
.col .chip-row { flex-direction: row; align-items: center; }
.col .chip { text-align: center; }
.col-slider, .col-create { width: auto; }
.stage { order: 0; flex: 1 1 auto; }
}