Fix Login Box height while loading (#2061)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2022-05-31 20:16:21 -07:00
committed by GitHub
parent 692dc1a29e
commit 7687a9e588

View File

@@ -213,15 +213,6 @@ const styles = (theme: Theme) =>
linearPredef: {
height: 10,
},
loaderAlignment: {
display: "flex",
width: "100%",
height: "100%",
justifyContent: "center",
alignItems: "center",
flexDirection: "column",
},
retryButton: {
alignSelf: "flex-end",
},
@@ -562,7 +553,7 @@ const Login = ({ classes }: ILoginProps) => {
}
default:
loginComponent = (
<div className={classes.loaderAlignment}>
<div style={{ textAlign: "center" }}>
{loadingFetchConfiguration ? (
<Loader className={classes.loadingLoginStrategy} />
) : (