mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
Fix missing properties on BoardCard
This commit is contained in:
parent
e77a6e7acd
commit
e5029ff6fd
@ -17,7 +17,7 @@
|
||||
|
||||
&:hover {
|
||||
background-color: #eeeeee;
|
||||
.MenuWrapper {
|
||||
.optionsMenu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@ -26,7 +26,7 @@
|
||||
background-color: rgba(90, 200, 255, 0.2);
|
||||
}
|
||||
|
||||
.MenuWrapper {
|
||||
.optionsMenu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
|
@ -59,7 +59,7 @@ class BoardCard extends React.Component<BoardCardProps, BoardCardState> {
|
||||
this.props.onDragEnd(e)
|
||||
}}
|
||||
>
|
||||
<MenuWrapper stopPropagationOnToggle={true}>
|
||||
<MenuWrapper className='optionsMenu' stopPropagationOnToggle={true}>
|
||||
<div className='octo-hoverbutton square'><div className='imageOptions'/></div>
|
||||
<Menu>
|
||||
<Menu.Text
|
||||
|
@ -10,6 +10,7 @@ type Props = {
|
||||
onToggle?: (open: boolean) => void;
|
||||
isDisabled?: boolean;
|
||||
stopPropagationOnToggle?: boolean;
|
||||
className?: string
|
||||
}
|
||||
|
||||
type State = {
|
||||
@ -84,7 +85,7 @@ export default class MenuWrapper extends React.PureComponent<Props, State> {
|
||||
|
||||
return (
|
||||
<div
|
||||
className='MenuWrapper'
|
||||
className={`MenuWrapper ${this.props.className || ''}`}
|
||||
onClick={this.toggle}
|
||||
ref={this.node}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user