From 398b928a01ea1b3bc778596222126f17f2854b69 Mon Sep 17 00:00:00 2001 From: corpulent Date: Tue, 23 Aug 2022 14:03:45 +0300 Subject: [PATCH] fix: projects label fixes --- .../src/components/Projects/index.tsx | 10 +++--- .../src/components/modals/import/index.tsx | 34 +++++++++++++------ 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/services/frontend/src/components/Projects/index.tsx b/services/frontend/src/components/Projects/index.tsx index 2734295..1d282c7 100644 --- a/services/frontend/src/components/Projects/index.tsx +++ b/services/frontend/src/components/Projects/index.tsx @@ -107,14 +107,14 @@ const Projects = () => { flexDirection: "column", justifyContent: "center", alignItems: "center", - minHeight: "calc(60vh - 120px)" + minHeight: "calc(100vh - 160px)" }} > -

+

No projects

-

- Get started by creating a new project. +

+ Get started by creating a new project

diff --git a/services/frontend/src/components/modals/import/index.tsx b/services/frontend/src/components/modals/import/index.tsx index 0e959ae..f194b34 100644 --- a/services/frontend/src/components/modals/import/index.tsx +++ b/services/frontend/src/components/modals/import/index.tsx @@ -26,6 +26,13 @@ const FormContainer = styled("div")` justify-content: space-between; `; +const FormRowBlock = styled("div")` + margin: 6px 0 0 0; + display: flex; + flex-direction: row; + gap: ${({ theme }) => theme.spacing(1)}; +`; + const ModalImport = (props: IModalImportProps) => { const { onHide, onImport, importing } = props; @@ -74,19 +81,24 @@ const ModalImport = (props: IModalImportProps) => { className="relative px-4 py-3 flex-auto" height={""} > - + - + + - + + {importing && <>importing}