From 3c54a6261dedc0074ec68c9290f50110e3ba40ec Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Wed, 10 Apr 2024 20:45:18 -0400 Subject: [PATCH] Make scrollbar transparent and work on making transitions more apealing --- src/assets/locales/en.json | 1 + src/pages/Discover.tsx | 13 +++++++------ src/pages/parts/player/ScrapeErrorPart.tsx | 17 +++++++++++++---- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index cf6aaec4..07627655 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -427,6 +427,7 @@ "badge": "Not found", "detailsButton": "Show details", "homeButton": "Go home", + "discoverButton": "Discover more", "text": "We have searched through our providers and cannot find the media you are looking for! We do not host the media and have no control over what is available. Please click 'Show details' below for more details.", "title": "We couldn't find that" }, diff --git a/src/pages/Discover.tsx b/src/pages/Discover.tsx index 827bb28c..68c667d4 100644 --- a/src/pages/Discover.tsx +++ b/src/pages/Discover.tsx @@ -258,10 +258,11 @@ export function Discover() {
{ carouselRefs.current[categorySlug] = el; @@ -280,7 +281,7 @@ export function Discover() { }`, ) } - className="text-center relative mt-4 mb-4 ml-[0.4em] mr-[0.2em]" + className="text-center relative mt-2 ml-[0.285em] mr-[0.2em]" style={{ flex: `0 0 ${movieWidth}` }} // Set a fixed width for each movie >
@@ -310,7 +311,7 @@ export function Discover() {
+ {error ? (