mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
fix: adjust error result position (#1683)
This commit is contained in:
@ -43,8 +43,8 @@ export function renderMessage(msg) {
|
|||||||
export function renderMessageLarge(ths, msg) {
|
export function renderMessageLarge(ths, msg) {
|
||||||
if (msg !== null) {
|
if (msg !== null) {
|
||||||
return (
|
return (
|
||||||
<div style={{display: "inline"}}>
|
|
||||||
<Result
|
<Result
|
||||||
|
style={{margin: "0px auto"}}
|
||||||
status="error"
|
status="error"
|
||||||
title="There was a problem signing you in.."
|
title="There was a problem signing you in.."
|
||||||
subTitle={msg}
|
subTitle={msg}
|
||||||
@ -57,7 +57,6 @@ export function renderMessageLarge(ths, msg) {
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
</Result>
|
</Result>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user