diff --git a/src/App.tsx b/src/App.tsx index 3d825a1..105384b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -61,9 +61,10 @@ function App() { tmdb.getSimilar(config, chosenMovie, setMoviesHandler, setSimilarMoviesAvailable) }, [config]) const crossfadeImageStyles = { - width: "2560px", - minHeight: "100%", - aspectRatio: "16/9" + width: "100vw", + height: "100vh", + aspectRatio: "16/9", + objectFit: "clip" } const { width } = useWindowDimensions() @@ -84,22 +85,27 @@ function App() { return ( <> -
{movie.overview === null ? "Loading" +
{movie.overview === null ? "Loading" : movie.overview === "" ? apology : movie.overview}
-{config.language == "es" ? "Por el momento no hay opciónes streaming." : config.language == "en" ? "There are no online viewing options right now." : ""}
- } - return <> +export function WhereToWatch({ watchProviders, config, className }: WhereToWatchProps) { + return <> > } diff --git a/tailwind.config.js b/tailwind.config.js index 3cf7e4c..e79504c 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,11 @@ export default { content: ["./dist/index.html", "./src/**/*.{js,ts,jsx,tsx}"], theme: { - extend: {}, + extend: { + aspectRatio: { + poster: "2 / 3", + }, + }, }, plugins: [], };