fix(web): drop the subtitles panel below the episode row
ci / web (push) Successful in 28s
ci / rust (push) Successful in 2m3s
e2e / e2e (push) Failing after 3m39s

The row and its disclosed panel were siblings in one wrapping flex line,
which only stacked them by accident of flex-basis: 100%. At phone width the
row is told not to wrap so the title truncates instead of pushing the
controls down — and the panel then had nowhere to go but beside the episode.

The row is now its own strip, .episode-line, with the panel a block under
it. Same pairing the movie file row already uses.
This commit is contained in:
Miguel Palhas
2026-08-26 20:12:21 +01:00
parent 5610e5976d
commit 9d2b818c52
2 changed files with 14 additions and 5 deletions
+10 -4
View File
@@ -1694,14 +1694,20 @@ body {
list-style: none;
}
/* the row is a strip; the disclosed subtitles panel is a block under it.
Two boxes, not one wrapping line — a row told not to wrap has nowhere to
put the panel, which is how it came to sit beside the episode on a phone */
.episode {
padding: var(--space-2) var(--space-1);
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
transition: background 150ms var(--ease-out);
}
.episode-line {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--space-1) var(--space-2);
padding: var(--space-2) var(--space-1);
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
transition: background 150ms var(--ease-out);
}
.ep-tag {
@@ -2314,7 +2320,7 @@ body {
whether the file is on disk, and the control — everything else is detail
you open the desktop for. Hidden, not shrunk: half a date is worse than
no date. */
.episode {
.episode-line {
flex-wrap: nowrap;
}