Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: show up image menu option (#464)

DiamondThreea47913a9d83e
diff --git a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardItem.tsx b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardItem.tsx
index b527711217..3267c7d6f5 100644
--- a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardItem.tsx
+++ b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardItem.tsx
@@ -52,8 +52,6 @@ const CardContainer = styled('div')({
backgroundColor: '#fff',
border: '1px solid #E2E7ED',
borderRadius: '5px',
- overflow: 'hidden',
-
[CardActions.toString()]: {
opacity: '0',
},
diff --git a/libs/components/editor-blocks/src/components/upload/upload.tsx b/libs/components/editor-blocks/src/components/upload/upload.tsx
index d9a4ed6f0b..190b4f4f31 100644
--- a/libs/components/editor-blocks/src/components/upload/upload.tsx
+++ b/libs/components/editor-blocks/src/components/upload/upload.tsx
@@ -1,21 +1,21 @@
-import {
- useRef,
- ChangeEvent,
- ReactElement,
- useState,
- SyntheticEvent,
-} from 'react';
import DeleteSweepOutlinedIcon from '@mui/icons-material/DeleteSweepOutlined';
import {
- styled,
- SxProps,
- MuiTextField as TextField,
+ MuiBox as Box,
MuiButton as Button,
MuiClickAwayListener as ClickAwayListener,
- MuiTabs as Tabs,
MuiTab as Tab,
- MuiBox as Box,
+ MuiTabs as Tabs,
+ MuiTextField as TextField,
+ styled,
+ SxProps,
} from '@toeverything/components/ui';
+import {
+ ChangeEvent,
+ ReactElement,
+ SyntheticEvent,
+ useRef,
+ useState,
+} from 'react';
const MESSAGES = {
ADD_AN_FILE: 'Add an file',
@@ -36,8 +36,9 @@ interface Props {
}
const styles: SxProps = {
position: 'absolute',
- width: '600px',
- zIndex: 99,
+ width: '70%',
+ // maxWidth:'100%',
+ zIndex: 999,
marginLeft: '50px',
p: 1,
bgcolor: 'background.paper',