From d88c4e3066ffe79c06f37155f8baa80c6fb8b2e0 Mon Sep 17 00:00:00 2001 From: Gabriel Hernandez Date: Wed, 27 Jul 2022 14:43:13 +0100 Subject: [PATCH] fix fleet setup styles (#6909) --- frontend/components/App/App.tsx | 5 +++-- frontend/components/App/_styles.scss | 8 ++++++++ frontend/styles/global/_global.scss | 5 ----- 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 frontend/components/App/_styles.scss diff --git a/frontend/components/App/App.tsx b/frontend/components/App/App.tsx index 4f3542afe7..a55b376d55 100644 --- a/frontend/components/App/App.tsx +++ b/frontend/components/App/App.tsx @@ -32,6 +32,8 @@ interface IAppProps { | undefined; } +const baseClass = "app"; + const App = ({ children, location }: IAppProps): JSX.Element => { const queryClient = new QueryClient(); const { @@ -136,7 +138,6 @@ const App = ({ children, location }: IAppProps): JSX.Element => { return ; }; - const wrapperStyles = classnames("wrapper"); return isLoading ? ( ) : ( @@ -149,7 +150,7 @@ const App = ({ children, location }: IAppProps): JSX.Element => { fallbackRender={renderErrorOverlay} resetKeys={[location?.pathname]} > -
{children}
+
{children}
diff --git a/frontend/components/App/_styles.scss b/frontend/components/App/_styles.scss new file mode 100644 index 0000000000..72499bcfcd --- /dev/null +++ b/frontend/components/App/_styles.scss @@ -0,0 +1,8 @@ +.app { + background: $gradients-dark-gradient-vertical; + margin: 0; + + & > div { + min-height: 100vh; + } +} diff --git a/frontend/styles/global/_global.scss b/frontend/styles/global/_global.scss index 409a880f53..3680e2d9cf 100644 --- a/frontend/styles/global/_global.scss +++ b/frontend/styles/global/_global.scss @@ -38,11 +38,6 @@ body { } } -.wrapper, -.wrapper > div { - min-height: 100vh; -} - h1, h2, h3 {