fix: show up image menu option (#464)

fix: fix bug that don't add image in kanban view
This commit is contained in:
DiamondThree
2022-09-27 16:23:31 +08:00
committed by GitHub
parent 3d27b42f09
commit a47913a9d8
2 changed files with 15 additions and 16 deletions

View File

@@ -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',
}, },

View File

@@ -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',