fix fleet setup styles (#6909)

This commit is contained in:
Gabriel Hernandez
2022-07-27 14:43:13 +01:00
committed by GitHub
parent 45b8ba2675
commit d88c4e3066
3 changed files with 11 additions and 7 deletions
+3 -2
View File
@@ -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 <Fleet500 />;
};
const wrapperStyles = classnames("wrapper");
return isLoading ? (
<Spinner />
) : (
@@ -149,7 +150,7 @@ const App = ({ children, location }: IAppProps): JSX.Element => {
fallbackRender={renderErrorOverlay}
resetKeys={[location?.pathname]}
>
<div className={wrapperStyles}>{children}</div>
<div className={baseClass}>{children}</div>
</ErrorBoundary>
</NotificationProvider>
</PolicyProvider>
+8
View File
@@ -0,0 +1,8 @@
.app {
background: $gradients-dark-gradient-vertical;
margin: 0;
& > div {
min-height: 100vh;
}
}
-5
View File
@@ -38,11 +38,6 @@ body {
}
}
.wrapper,
.wrapper > div {
min-height: 100vh;
}
h1,
h2,
h3 {