Compare commits

...

1 Commits

Author SHA1 Message Date
Ammar Ahmed
e3ec03ab92 mobile: fix color popup on mobile 2024-07-08 12:01:03 +05:00
2 changed files with 2 additions and 3 deletions

View File

@@ -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"

View File

@@ -58,7 +58,7 @@ export function ColorTool(props: ColorToolProps) {
location: isBottom ? "top" : "below",
yOffset: 10
};
}, [isBottom]);
}, [isBottom, isOpen]);
useEffect(() => {
config.set(`custom_${cacheKey}`, colors);