Improving the dots icon in the value selector
This commit is contained in:
parent
2842e19a3b
commit
c53ab6423f
2 changed files with 8 additions and 2 deletions
|
@ -15,6 +15,12 @@
|
||||||
.MenuWrapper {
|
.MenuWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
|
.IconButton {
|
||||||
|
background-color: unset;
|
||||||
|
&:hover {
|
||||||
|
background-color: rgba(var(--main-fg), 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {Constants} from '../constants'
|
||||||
|
|
||||||
import Menu from './menu'
|
import Menu from './menu'
|
||||||
import MenuWrapper from './menuWrapper'
|
import MenuWrapper from './menuWrapper'
|
||||||
import Button from './buttons/button'
|
import IconButton from './buttons/iconButton'
|
||||||
import OptionsIcon from './icons/options'
|
import OptionsIcon from './icons/options'
|
||||||
import DeleteIcon from './icons/delete'
|
import DeleteIcon from './icons/delete'
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ class ValueSelector extends React.Component<Props> {
|
||||||
<div className={`octo-label ${option.color}`}>{option.value}</div>
|
<div className={`octo-label ${option.color}`}>{option.value}</div>
|
||||||
</div>
|
</div>
|
||||||
<MenuWrapper stopPropagationOnToggle={true}>
|
<MenuWrapper stopPropagationOnToggle={true}>
|
||||||
<Button><OptionsIcon/></Button>
|
<IconButton icon={<OptionsIcon/>}/>
|
||||||
<Menu position='left'>
|
<Menu position='left'>
|
||||||
<Menu.Text
|
<Menu.Text
|
||||||
id='delete'
|
id='delete'
|
||||||
|
|
Loading…
Reference in a new issue