mirror of https://github.com/openspug/spug
fix issue
parent
58b864f721
commit
19150210a2
|
@ -82,13 +82,13 @@ function Header(props) {
|
||||||
<div className={styles.toolbar}>
|
<div className={styles.toolbar}>
|
||||||
<div className={styles.title}>{props.title}</div>
|
<div className={styles.title}>{props.title}</div>
|
||||||
<div className={styles.option}>
|
<div className={styles.option}>
|
||||||
<Space size="middle">
|
<Space size="middle" style={{marginRight: 10}}>
|
||||||
{actions.map((item, index) => (
|
{actions.map((item, index) => (
|
||||||
<React.Fragment key={index}>{item}</React.Fragment>
|
<React.Fragment key={index}>{item}</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</Space>
|
</Space>
|
||||||
{actions.length ? <Divider type="vertical"/> : null}
|
{actions.length ? <Divider type="vertical"/> : null}
|
||||||
<Space>
|
<Space className={styles.icons}>
|
||||||
<ReloadOutlined onClick={props.onReload}/>
|
<ReloadOutlined onClick={props.onReload}/>
|
||||||
<Popover
|
<Popover
|
||||||
arrowPointAtCenter
|
arrowPointAtCenter
|
||||||
|
|
|
@ -76,9 +76,11 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
:global(.anticon) {
|
.icons {
|
||||||
font-size: 16px;
|
:global(.anticon) {
|
||||||
margin-left: 8px;
|
font-size: 16px;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue