From 8956cb3915330eecf76b262bcf4b66c537e01dfd Mon Sep 17 00:00:00 2001 From: sct Date: Sat, 6 Feb 2021 15:07:12 +0000 Subject: [PATCH] refactor(ui): change search input design (experiment) --- src/components/CollectionDetails/index.tsx | 2 +- .../Layout/LanguagePicker/index.tsx | 2 +- src/components/Layout/SearchInput/index.tsx | 8 ++-- src/components/Layout/index.tsx | 37 ++++++++++++++++--- src/components/MovieDetails/index.tsx | 2 +- src/components/PersonDetails/index.tsx | 4 +- src/components/TvDetails/index.tsx | 2 +- 7 files changed, 41 insertions(+), 16 deletions(-) diff --git a/src/components/CollectionDetails/index.tsx b/src/components/CollectionDetails/index.tsx index b6bec5e21..c958b9e07 100644 --- a/src/components/CollectionDetails/index.tsx +++ b/src/components/CollectionDetails/index.tsx @@ -102,7 +102,7 @@ const CollectionDetails: React.FC = ({ return (
{
-
+
-
+
@@ -52,7 +77,7 @@ const Layout: React.FC = ({ children }) => {
-
+
{router.pathname === '/' && hasPermission(Permission.ADMIN) && (
diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index 095ccc138..5fd3acfca 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -133,7 +133,7 @@ const MovieDetails: React.FC = ({ movie }) => { return (
{ <> {(sortedCrew || sortedCast) && ( -
+
{ />
)} -
+
{data.profilePath && (
= ({ tv }) => { return (