Fix Login Box height while loading (#2061)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -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} />
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user