Commit c6428fab authored by zhangwenshuai's avatar zhangwenshuai

update loading style

parent 395c6459
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
height: 100%; height: 100%;
.loading { .loading {
position: absolute; position: absolute;
top: 200px; // top: 200px;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 10;
} }
} }
.leftSideContainer { .leftSideContainer {
......
...@@ -628,7 +628,7 @@ export default class AirTable extends Component<TableProps, TableState> { ...@@ -628,7 +628,7 @@ export default class AirTable extends Component<TableProps, TableState> {
</div> </div>
)} )}
<div className={styles.fillHandleWrapper} /> <div className={styles.fillHandleWrapper} />
<div className={styles.loading}>{loading && (loadComp ? loadComp : <Spin />)}</div> <div className={styles.loading} style={{ top: `${totalHeight / 2}px` }}>{loading && (loadComp ? loadComp : <Spin />)}</div>
</div> </div>
); );
}} }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment