mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-24 08:22:29 +02:00
Making the CardDialog menu open to the left
This commit is contained in:
parent
5dbb352f0e
commit
dfc29439b7
@ -19,7 +19,7 @@ type Props = {
|
||||
class CardDialog extends React.Component<Props> {
|
||||
render() {
|
||||
const menu = (
|
||||
<Menu>
|
||||
<Menu position='left'>
|
||||
<Menu.Text
|
||||
id='delete'
|
||||
name='Delete'
|
||||
|
@ -11,6 +11,9 @@
|
||||
&.top {
|
||||
bottom: 100%;
|
||||
}
|
||||
&.left {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.menu-options {
|
||||
display: flex;
|
||||
|
@ -12,7 +12,7 @@ import './menu.scss'
|
||||
|
||||
type MenuProps = {
|
||||
children: React.ReactNode
|
||||
position?: 'top'|'bottom'
|
||||
position?: 'top'|'bottom'|'left'
|
||||
}
|
||||
|
||||
export default class Menu extends React.PureComponent<MenuProps> {
|
||||
|
Loading…
Reference in New Issue
Block a user