Style fix

This commit is contained in:
Limo Saplf
2019-08-31 21:51:54 +08:00
parent b51ae824c7
commit ab3943d7c0
4 changed files with 13 additions and 1 deletions
+4 -1
View File
@@ -33,7 +33,10 @@ const Page: React.FC<DispatchProp & CheckModelState> = ({
if (pageState === PageState.Failure) {
return (
<div onClick={() => dispatch({ type: 'check/load' })}>加载失败,点击重新加载</div>
<div
onClick={() => dispatch({ type: 'check/load' })}
className={styles.error}
>{formatMessage({ id: 'app.error' })}</div>
);
}
+7
View File
@@ -47,3 +47,10 @@
line-height: 30;
line-height: 80vh;
}
.error {
height: 100%;
text-align: center;
line-height: 30;
line-height: 80vh;
}