fix(ui): fix item menu styles
This commit is contained in:
parent
0374f0934a
commit
7302490444
2 changed files with 5 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ export default class ItemMenu extends React.PureComponent {
|
|||
render() {
|
||||
const { items, label = "", bold } = this.props;
|
||||
const { displayed } = this.state;
|
||||
const parentStyles = label ? 'rounded px-2 py-1 hover:bg-gray-light' : '';
|
||||
const parentStyles = label ? 'rounded px-2 py-2 hover:bg-gray-light' : '';
|
||||
|
||||
return (
|
||||
<div className={ styles.wrapper }>
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@
|
|||
white-space: nowrap;
|
||||
z-index: 20;
|
||||
position: absolute;
|
||||
right: 31px;
|
||||
top: 27px;
|
||||
right: 0px;
|
||||
top: 37px;
|
||||
min-width: 150px;
|
||||
background-color: $white;
|
||||
border-radius: 3px;
|
||||
|
|
@ -53,6 +53,7 @@
|
|||
& .menuItem {
|
||||
cursor: pointer;
|
||||
padding: 10px;
|
||||
color: black;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid $gray-light;
|
||||
|
|
@ -64,7 +65,7 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $gray-lightest;
|
||||
background-color: $active-blue;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue