fix(web): finish-review polish for the library view
ci / web (pull_request) Successful in 32s
e2e / e2e (pull_request) Successful in 1m0s
ci / rust (pull_request) Successful in 3m10s

Deterministic rail wrap on small screens (scrollbar-gutter plus
explicit order), aria-controls on the satisfied toggle, and the
toggle text aligned with the chip column's right edge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-22 23:07:18 +01:00
parent ecdd213877
commit 290e3794d5
2 changed files with 23 additions and 0 deletions
+1
View File
@@ -120,6 +120,7 @@
class="bucket-toggle readout"
id="library-toggle"
aria-expanded="false"
aria-controls="library-series library-movies"
hidden
></button>
</header>
+22
View File
@@ -97,6 +97,11 @@ body {
padding: 0;
}
/* a scrollbar appearing must not reflow the rail's wrap */
html {
scrollbar-gutter: stable;
}
body {
min-height: 100dvh;
display: flex;
@@ -993,6 +998,12 @@ body {
margin: 0 0 var(--space-6);
}
/* the toggle's own padding would inset its text past the chip column's
right rag; drop it so SATISFIED sits flush with the chips below */
.library-bar .bucket-toggle {
padding: 0;
}
/* ---- manual intake ---------------------------------------------------- */
.intake .module-detail {
@@ -1018,6 +1029,17 @@ body {
max-width: none;
}
/* deterministic first row: identity, views, then meta pushed right —
never re-wrapped by content or scrollbar changes */
.rail-nav {
order: 2;
}
.rail-meta {
order: 2;
margin-left: auto;
}
.deck {
padding: var(--space-6) var(--space-4) var(--space-8);
}