diff --git a/src/app/add/page.tsx b/src/app/add/page.tsx index d155d5f..6216dfd 100644 --- a/src/app/add/page.tsx +++ b/src/app/add/page.tsx @@ -57,7 +57,7 @@ export default function AddMoviePage() { } return ( -
+

Add a Movie

@@ -66,6 +66,7 @@ export default function AddMoviePage() { value={url} onChange={(e) => setUrl(e.target.value)} onKeyDown={(e) => e.key === 'Enter' && handlePreview()} + inputMode="url" className="border-amber-300 focus:ring-amber-400" /> diff --git a/src/components/movie-row.tsx b/src/components/movie-row.tsx index 8c95374..3e9101a 100644 --- a/src/components/movie-row.tsx +++ b/src/components/movie-row.tsx @@ -68,89 +68,91 @@ export function MovieRow({ return ( <> -
- {/* Position */} - - {position} - +
+
+ {/* Position */} + + {position} + - {/* Poster */} -
- -
- - {/* Info — title, year, pills, streaming */} -
-

- {movie.title} -

-
- - {movie.year} · {formatRuntime(movie.runtime)} - - {seerrUrl && ( - - ↗ - - )} + {/* Poster */} +
+
- {/* Status pills + streaming info live here */} -
- {isStreamable && ( - - Streaming + {/* Info — title, year, pills, streaming */} +
+

+ {movie.title} +

+
+ + {movie.year} · {formatRuntime(movie.runtime)} - )} - {isCheckingStreaming && ( - - Checking… + {seerrUrl && ( + + ↗ + + )} +
+ + {/* Status pills + streaming info live here */} +
+ {isStreamable && ( + + Streaming + + )} + {isCheckingStreaming && ( + + Checking… + + )} + + {SEERR_LABEL[movie.seerrStatus] ?? movie.seerrStatus} - )} - - {SEERR_LABEL[movie.seerrStatus] ?? movie.seerrStatus} - - {isStreamable && streamingProviders.map((p) => ( - // eslint-disable-next-line @next/next/no-img-element - {p.providerName} { - (e.target as HTMLImageElement).style.display = "none" - }} - /> - ))} - {isStreamable && streamingLink && ( - - Watch ↗ - - )} + {isStreamable && streamingProviders.map((p) => ( + // eslint-disable-next-line @next/next/no-img-element + {p.providerName} { + (e.target as HTMLImageElement).style.display = "none" + }} + /> + ))} + {isStreamable && streamingLink && ( + + Watch ↗ + + )} +
{/* Actions — single row */} -
+
{isStreamable ? ( <>