From 2b73b3e9a33818f2546acea6ea53df1b683fe454 Mon Sep 17 00:00:00 2001 From: thekingofjibs Date: Wed, 18 Mar 2020 16:18:14 +0000 Subject: [PATCH] added mxing placeholder and tweaked spacing --- src/App.css | 7 +++++++ src/showplanner/index.tsx | 21 +++++++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/App.css b/src/App.css index e354c5a..1f8f529 100644 --- a/src/App.css +++ b/src/App.css @@ -25,6 +25,8 @@ display: flex; flex-direction: column; height: 100%; + margin-left: .5%; + margin-right: .5%; } .sp { @@ -116,3 +118,8 @@ html, body, #root { button{ background-color: rgb(199, 199, 199); } + +.player div { + height: 16%; + overflow-x: hidden; +} \ No newline at end of file diff --git a/src/showplanner/index.tsx b/src/showplanner/index.tsx index 18f5475..f40527b 100644 --- a/src/showplanner/index.tsx +++ b/src/showplanner/index.tsx @@ -84,9 +84,9 @@ function Player({ id }: { id: number }) { const dispatch = useDispatch(); return ( -
+
{playerState.loadedItem == null && (
No Media Selected
)} - {(playerState.loadedItem !== null && playerState.loading == false) && (
{playerState.loadedItem.title}
)} + {(playerState.loadedItem !== null && playerState.loading == false) && (
{playerState.loadedItem.title}
)} {playerState.loading && LOADING}