Mobile viewport fixes: responsive card width, nav cleanup, season percentages

- Continue Watching card uses viewport-relative width on mobile (calc(100vw-3rem))
  with edge-to-edge scroll container using negative margin trick
- Nav bar hides user name on mobile (bottom tab bar shows it instead)
- Season rows show percentage text on mobile where progress bar is hidden
- Season 5 correctly shows "94%" instead of requiring the hidden progress bar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 11:50:02 -05:00
co-authored by Claude Opus 4.6
parent b96c7ac540
commit 0e8ea15cd0
3 changed files with 11 additions and 6 deletions
+8 -3
View File
@@ -632,9 +632,14 @@ export default function TitleDetailPage() {
</div>
<div className="flex items-center gap-3">
{totalCount > 0 && (
<div className="hidden w-24 sm:block">
<Progress value={progressPercent} />
</div>
<>
<span className="text-xs tabular-nums text-muted-foreground sm:hidden">
{Math.round(progressPercent)}%
</span>
<div className="hidden w-24 sm:block">
<Progress value={progressPercent} />
</div>
</>
)}
{totalCount > 0 && watchedCount < totalCount && (
<button