From 697f640154f7bb79bcc3bae8ab39fbb6bf52dbfa Mon Sep 17 00:00:00 2001 From: gtzatchkova Date: Sat, 16 Nov 2024 03:28:48 +0100 Subject: [PATCH 1/2] Attempt to fix upload feature on empty content screen centering --- client/components/Application/Content.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/components/Application/Content.tsx b/client/components/Application/Content.tsx index 0d3c89f4..781abb15 100644 --- a/client/components/Application/Content.tsx +++ b/client/components/Application/Content.tsx @@ -128,7 +128,8 @@ function LoadingContent() { const StyledCard = styled(Card)(() => ({ width: '100%', - height: '100%', + height: '90%', + minHeight: '75vh', border: 'none', boxShadow: 'none', borderRadius: 0, From a0ef7172d81a6b116aeaca98fc1eebd009a7d706 Mon Sep 17 00:00:00 2001 From: gtzatchkova Date: Sat, 16 Nov 2024 04:43:47 +0100 Subject: [PATCH 2/2] Try with different numbers --- client/components/Application/Content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/Application/Content.tsx b/client/components/Application/Content.tsx index 781abb15..e6885bce 100644 --- a/client/components/Application/Content.tsx +++ b/client/components/Application/Content.tsx @@ -128,8 +128,8 @@ function LoadingContent() { const StyledCard = styled(Card)(() => ({ width: '100%', - height: '90%', - minHeight: '75vh', + height: '100%', + minHeight: '95vh', border: 'none', boxShadow: 'none', borderRadius: 0,