From 993372580c2e083fed978bd221edda3e5de9ebbd Mon Sep 17 00:00:00 2001 From: Peter Linnegan Date: Mon, 14 Mar 2022 15:22:16 +0000 Subject: [PATCH] fix: resize and reposition resize handle on jodit editor --- src/modules/edit/edit.component.tsx | 1 + src/modules/edit/resizeStyle.css | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src/modules/edit/resizeStyle.css diff --git a/src/modules/edit/edit.component.tsx b/src/modules/edit/edit.component.tsx index c7aa580..425535c 100644 --- a/src/modules/edit/edit.component.tsx +++ b/src/modules/edit/edit.component.tsx @@ -9,6 +9,7 @@ import {editorConfig} from "./editorConfig"; import {ReadmeLink} from "./readmeLink.component"; import {isTestEnv} from "@pepfar-react-lib/http-tools"; import LoggedOutMessage from '../shared/components/LoggedOutMessage'; +import './resizeStyle.css' const styles = { diff --git a/src/modules/edit/resizeStyle.css b/src/modules/edit/resizeStyle.css new file mode 100644 index 0000000..934756b --- /dev/null +++ b/src/modules/edit/resizeStyle.css @@ -0,0 +1,7 @@ +.jodit-editor__resize { + height: 7px; + width: 7px; + left: calc(100% - 8px); + top: -15px; + +} \ No newline at end of file