A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix color popup on mobile
Ammar Ahmed0b6013be58e5
diff --git a/packages/editor-mobile/src/components/tiptap.tsx b/packages/editor-mobile/src/components/tiptap.tsxindex af0a411ca..28bced355 100644--- a/packages/editor-mobile/src/components/tiptap.tsx+++ b/packages/editor-mobile/src/components/tiptap.tsx@@ -43,8 +43,7 @@ export default function TiptapEditorWrapper(props: {sx={{display: props.settings.noToolbar ? "none" : "flex",overflowY: "hidden",- minHeight: "50px",- backgroundColor: "red"+ minHeight: "50px"}}editor={editor}location="bottom"diff --git a/packages/editor/src/toolbar/tools/colors.tsx b/packages/editor/src/toolbar/tools/colors.tsxindex c3ab7bd33..d84091ce7 100644--- a/packages/editor/src/toolbar/tools/colors.tsx+++ b/packages/editor/src/toolbar/tools/colors.tsx@@ -58,7 +58,7 @@ export function ColorTool(props: ColorToolProps) {location: isBottom ? "top" : "below",yOffset: 10};- }, [isBottom]);+ }, [isBottom, isOpen]);useEffect(() => {config.set(`custom_${cacheKey}`, colors);