diff --git a/src/App.tsx b/src/App.tsx
index 53c0aee..f7d204f 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -74,7 +74,7 @@ function App() {
let desiredLength = 0
if (width > 1280) {
desiredLength = 18
- } else if (width > 640) {
+ } else if (width > 400) {
desiredLength = 16
} else { desiredLength = 15 }
//ensure movies.length is a multiple of 6 (so it makes an orphanless grid)
@@ -94,10 +94,10 @@ function App() {
-
-
+
+
{
link: string;
}
function ProviderIcons({ providerList, link }: ProviderIconsProps) {
+ if (!providerList) { return "" }
const list = providerList.map((e: any, i: number) => {
return
diff --git a/tailwind.config.js b/tailwind.config.js
index 4fabeaf..d33c8da 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -2,6 +2,9 @@
export default {
content: ["./dist/index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
+ screens: {
+ largeMobile: "390px",
+ },
extend: {
aspectRatio: {
poster: "2 / 3",