diff --git a/src/components/PostPreviewPane.jsx b/src/components/PostPreviewPane.jsx index 2590afdd..a51b1083 100644 --- a/src/components/PostPreviewPane.jsx +++ b/src/components/PostPreviewPane.jsx @@ -16,7 +16,7 @@ function PostPreviewPane({ return ( <> {showPreviewPane && ( -
+
setShowPreviewPane(false)} className="float-right text-primary-500 mb" />
diff --git a/src/components/TinyMCEEditor.jsx b/src/components/TinyMCEEditor.jsx index 89981368..e4dc653b 100644 --- a/src/components/TinyMCEEditor.jsx +++ b/src/components/TinyMCEEditor.jsx @@ -96,7 +96,7 @@ export default function TinyMCEEditor(props) { + ' | charmap', content_css: false, content_style: contentStyle, - body_class: 'm-2', + body_class: 'm-2 text-editor', default_link_target: '_blank', target_list: false, images_upload_handler: uploadHandler, diff --git a/src/index.scss b/src/index.scss index 8588946d..1efe1dd6 100755 --- a/src/index.scss +++ b/src/index.scss @@ -9,7 +9,9 @@ $fa-font-path: "~font-awesome/fonts"; #post, #comment, #reply, -.discussion-comments { +.discussion-comments, +.text-editor, +.post-preview { img { height: auto; max-width: 100%;