Skip to content

fix(watch): stop the tabs layout scrolling past the player - #874

Merged
A-EDev merged 1 commit into
mainfrom
fix/watch-tabs-page-scroll
Dec 5, 2026
Merged

A-EDev merged 1 commit into
mainfrom
fix/watch-tabs-page-scroll

Conversation

@A-EDev

@A-EDev A-EDev commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The watch page no longer asks for a full window height. It sits in a pane that is shorter than the window (title bar, top bar, end padding), so in the "Tabs beside the player" layout the page scrolled into an empty area.
  • The side column's height now counts the title bar too, through one h-watch-side / max-h-watch-side utility in App.css used by both layouts. Before, the column ran 32 px past the pane on Windows and Linux.

Related issue

Closes #867

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Documentation
  • Build, packaging, or CI

Validation

  • pnpm test: 615 files, 3487 tests passed
  • pnpm build: tsc and vite build passed
  • cargo fmt --manifest-path src-tauri/Cargo.toml --all -- --check: clean
  • cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features: passed (existing warnings only)
  • cargo test --manifest-path src-tauri/Cargo.toml --all-targets --all-features: 2350 passed, 0 failed (no Rust changes in this PR)
  • I smoke-tested the affected desktop behavior.

Measured in a macOS dev build on a test profile, tabs layout, theater off, 917 px window: the page pane's overflow was 80 px with the old min-h-screen put back and 0 px with this change, and the tabs column ends at the pane's end padding. Linux and Windows, where the 32 px title bar shows, were not run.

Screenshots or recordings

Risk and compatibility

  • No new secrets, private data, telemetry, or broad Tauri permissions were introduced.
  • User-facing documentation was updated where needed.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Breaking changes and upgrade steps are clearly documented.

Layout only: no migrations, database, permissions, network, playback or background work. In the default layout the Related column is 32 px shorter on Windows and Linux, so it ends at the window edge. Theater mode with tabs still scrolls, since the tabs sit under a full-width player there. No changelog line: the tabs layout is new in this pre-release.

@A-EDev
A-EDev merged commit 984d5b8 into main Dec 5, 2026
11 checks passed
@A-EDev
A-EDev deleted the fix/watch-tabs-page-scroll branch December 5, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Watch page is scrollable when layout is set to "Tabs beside the player"

1 participant