Skip to content

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

editor: make drag handle size dynamic

ammarahm-edcf65fc4f57e8
diff --git a/packages/editor/src/extensions/task-item/component.tsx b/packages/editor/src/extensions/task-item/component.tsx
index 4fd78c8ef..1001ea1f6 100644
--- a/packages/editor/src/extensions/task-item/component.tsx
+++ b/packages/editor/src/extensions/task-item/component.tsx
@@ -89,10 +89,10 @@ export function TaskItemComponent(
".icon:hover path": {
fill: "var(--checked) !important"
},
- mt: "1px",
- mx: 1
+ mx: 1,
+ fontFamily: "inherit"
}}
- size={isMobile ? 24 : 20}
+ size={isMobile ? "2.46ch" : "2.22ch"}
/>
)}
<Icon