Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: only set minimum width to not distort the image

thecodrr78d348122a6d
diff --git a/packages/editor/src/components/resizer/index.tsx b/packages/editor/src/components/resizer/index.tsx
index 7e605c842..7e1f17bd4 100644
--- a/packages/editor/src/components/resizer/index.tsx
+++ b/packages/editor/src/components/resizer/index.tsx
@@ -30,22 +30,21 @@ export function Resizer(props: PropsWithChildren<ResizerProps>) {
width: width || "auto",
}}
maxWidth="100%"
- minWidth={150}
- minHeight={150}
+ minWidth={135}
handleComponent={{
bottomRight: (
<Icon
sx={{
width: 25,
height: 25,
- marginLeft: -17,
- marginTop: "3px",
+ marginLeft: -20,
+ marginTop: -20,
borderTopLeftRadius: "default",
borderBottomRightRadius: "default",
}}
path={Icons.resize}
size={25}
- color="primary"
+ color="icon"
/>
),
}}