1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

realign after moved button

This commit is contained in:
sveisvei 2016-12-10 14:10:06 +01:00
parent 12617aa6e9
commit f6ca76ff39

View File

@ -38,7 +38,7 @@ class AddStrategy extends React.Component {
return (
<div style={{ position: 'relative', width: '25px', height: '25px', display: 'inline-block' }} >
<IconButton name="add" id="strategies-add" colored title="Sort" onClick={this.stopPropagation}/>
<Menu target="strategies-add" valign="top" align="left" ripple style={menuStyle} onClick={
<Menu target="strategies-add" valign="bottom" align="right" ripple style={menuStyle} onClick={
(e) => this.setSort(e.target.getAttribute('data-target'))}>
<MenuItem disabled>Add Strategy:</MenuItem>
{this.props.strategies.map((s) => <MenuItem key={s.name} onClick={() => this.addStrategy(s.name)}>{s.name}</MenuItem>)}