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.title}>{props.title}</div>
|
||||
<div className={styles.option}>
|
||||
<Space size="middle">
|
||||
<Space size="middle" style={{marginRight: 10}}>
|
||||
{actions.map((item, index) => (
|
||||
<React.Fragment key={index}>{item}</React.Fragment>
|
||||
))}
|
||||
</Space>
|
||||
{actions.length ? <Divider type="vertical"/> : null}
|
||||
<Space>
|
||||
<Space className={styles.icons}>
|
||||
<ReloadOutlined onClick={props.onReload}/>
|
||||
<Popover
|
||||
arrowPointAtCenter
|
||||
|
|
|
@ -76,9 +76,11 @@
|
|||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
:global(.anticon) {
|
||||
font-size: 16px;
|
||||
margin-left: 8px;
|
||||
.icons {
|
||||
:global(.anticon) {
|
||||
font-size: 16px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue