fix: show up image menu option (#464)
fix: fix bug that don't add image in kanban view
This commit is contained in:
@@ -52,8 +52,6 @@ const CardContainer = styled('div')({
|
|||||||
backgroundColor: '#fff',
|
backgroundColor: '#fff',
|
||||||
border: '1px solid #E2E7ED',
|
border: '1px solid #E2E7ED',
|
||||||
borderRadius: '5px',
|
borderRadius: '5px',
|
||||||
overflow: 'hidden',
|
|
||||||
|
|
||||||
[CardActions.toString()]: {
|
[CardActions.toString()]: {
|
||||||
opacity: '0',
|
opacity: '0',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
import {
|
|
||||||
useRef,
|
|
||||||
ChangeEvent,
|
|
||||||
ReactElement,
|
|
||||||
useState,
|
|
||||||
SyntheticEvent,
|
|
||||||
} from 'react';
|
|
||||||
import DeleteSweepOutlinedIcon from '@mui/icons-material/DeleteSweepOutlined';
|
import DeleteSweepOutlinedIcon from '@mui/icons-material/DeleteSweepOutlined';
|
||||||
import {
|
import {
|
||||||
styled,
|
MuiBox as Box,
|
||||||
SxProps,
|
|
||||||
MuiTextField as TextField,
|
|
||||||
MuiButton as Button,
|
MuiButton as Button,
|
||||||
MuiClickAwayListener as ClickAwayListener,
|
MuiClickAwayListener as ClickAwayListener,
|
||||||
MuiTabs as Tabs,
|
|
||||||
MuiTab as Tab,
|
MuiTab as Tab,
|
||||||
MuiBox as Box,
|
MuiTabs as Tabs,
|
||||||
|
MuiTextField as TextField,
|
||||||
|
styled,
|
||||||
|
SxProps,
|
||||||
} from '@toeverything/components/ui';
|
} from '@toeverything/components/ui';
|
||||||
|
import {
|
||||||
|
ChangeEvent,
|
||||||
|
ReactElement,
|
||||||
|
SyntheticEvent,
|
||||||
|
useRef,
|
||||||
|
useState,
|
||||||
|
} from 'react';
|
||||||
|
|
||||||
const MESSAGES = {
|
const MESSAGES = {
|
||||||
ADD_AN_FILE: 'Add an file',
|
ADD_AN_FILE: 'Add an file',
|
||||||
@@ -36,8 +36,9 @@ interface Props {
|
|||||||
}
|
}
|
||||||
const styles: SxProps = {
|
const styles: SxProps = {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
width: '600px',
|
width: '70%',
|
||||||
zIndex: 99,
|
// maxWidth:'100%',
|
||||||
|
zIndex: 999,
|
||||||
marginLeft: '50px',
|
marginLeft: '50px',
|
||||||
p: 1,
|
p: 1,
|
||||||
bgcolor: 'background.paper',
|
bgcolor: 'background.paper',
|
||||||
|
|||||||
Reference in New Issue
Block a user