From d9c11d42295c4193a14e457deff44bf374db1f28 Mon Sep 17 00:00:00 2001 From: haraldnilsen Date: Tue, 5 Sep 2023 14:04:27 +0200 Subject: [PATCH] :lipstick: fixed table design Co-authored-by: Sindre Kjelsrud --- src/App.css | 5 +++++ src/App.tsx | 26 ++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/App.css b/src/App.css index 1eb0256..2b77342 100644 --- a/src/App.css +++ b/src/App.css @@ -4,6 +4,7 @@ :root { --bg: #27374d; + --bg2: #1a2533; --text-1: #dde6ed; } @@ -11,3 +12,7 @@ html { background-color: var(--bg); color: var(--text-1); } + +.card { + background-color: var(--bg2); +} diff --git a/src/App.tsx b/src/App.tsx index eea2ade..57a05db 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -34,28 +34,30 @@ function App() { return ( <> - - + + All movies - {!loading && totalPages && ( - - )} + + {!loading && totalPages && ( + + )} + {!loading && movies ? ( - + Poster Title Year {movies.map((movie: any) => ( - - + + {movie.Title}