diff --git a/app/components/SimpleEditor/Editor.js b/app/components/SimpleEditor/Editor.js index a94e42fc837d57749c70d131d7c76baef0214a3e..72fc9d5a42b71bd702e80fff5c222c66827857eb 100644 --- a/app/components/SimpleEditor/Editor.js +++ b/app/components/SimpleEditor/Editor.js @@ -58,8 +58,8 @@ class Editor extends ProseEditor { } render ($$) { - const { trackChangesView } = this.state - const canToggleTrackChanges = this.canToggleTrackChanges() + // const { trackChangesView } = this.state + // const canToggleTrackChanges = this.canToggleTrackChanges() const el = $$('div').addClass('sc-prose-editor') @@ -138,10 +138,6 @@ class Editor extends ProseEditor { ) ) - if (trackChangesView && canToggleTrackChanges) { - el.addClass('track-changes-mode') - } - const modal = $$(ModalWarning, { width: 'medium', textAlign: 'center' diff --git a/app/components/SimpleEditor/SimpleEditor.scss b/app/components/SimpleEditor/SimpleEditor.scss index 92210ae6dab2d669bae21f4a10d87565257b3bed..f363e65f295d17b1b7a4b87d8bbea2c1bd744f4e 100644 --- a/app/components/SimpleEditor/SimpleEditor.scss +++ b/app/components/SimpleEditor/SimpleEditor.scss @@ -38,24 +38,6 @@ $active-blue: #4a90e2; width: 20%; z-index: 9999; } - - .track-changes-mode { - div.se-content { - line-height: 38px; - } - - .sc-prose-editor-overlay-tools .se-active-tools .sc-comment-icon { - top: 0; - } - - .sc-comment-pane-list li .comment-list .single-comment-row { - padding: 3px 12px; - } - - .sc-overlay .se-active-tools .sc-overlay-bubble .sc-comment-icon { - top: 0; - } - } } .sc-prose-editor { @@ -279,6 +261,7 @@ $active-blue: #4a90e2; box-shadow: 0 0 8px $dark-gray; color: $transparent-black; font-family: 'Fira Sans'; + line-height: 38px; margin: 1.5% 17.8% 7%; min-height: 100vh; padding: 3% 4% 1%; diff --git a/app/components/SimpleEditor/elements/comment/comment.scss b/app/components/SimpleEditor/elements/comment/comment.scss index 65df65a2e00f51ed0fc3aac3548158e4b0c4c3ca..6aadfc83e81d62c341a454729f3b70212073c89d 100644 --- a/app/components/SimpleEditor/elements/comment/comment.scss +++ b/app/components/SimpleEditor/elements/comment/comment.scss @@ -40,7 +40,8 @@ $white: #fff; font-size: 20px; left: 8px; position: relative; - top: 6.7px; + // top: 6.7px; + top: 0; } .action-icon { diff --git a/app/components/SimpleEditor/panes/Comments/commentsPane.scss b/app/components/SimpleEditor/panes/Comments/commentsPane.scss index eac574cbce8ede79618e662f0f44916bd449c08b..98205dcbf6264cfc75fe9d42ddb2585488a35a3c 100644 --- a/app/components/SimpleEditor/panes/Comments/commentsPane.scss +++ b/app/components/SimpleEditor/panes/Comments/commentsPane.scss @@ -82,7 +82,8 @@ $white: #fff; .single-comment-row { border-bottom: 1px solid $dark-gray; - padding: 10px 12px; + // padding: 10px 12px; + padding: 3px 12px; .sc-comment-entry { width: 88%;