diff --git a/src/components/PathwayExercise/ContentEdit/styles.scss b/src/components/PathwayExercise/ContentEdit/styles.scss index 8aedc28de..48b658d5c 100644 --- a/src/components/PathwayExercise/ContentEdit/styles.scss +++ b/src/components/PathwayExercise/ContentEdit/styles.scss @@ -8,13 +8,19 @@ } .codex-editor--narrow .ce-toolbar__actions { - left: -54px; + // left: -54px; // left: 100%; - // right: 100%; + // Overriding https://github.com/codex-team/editor.js/blob/8f156a87ea42fcf9f398719a2236e89accd85662/src/styles/ui.css#L45 + // which specifies for .codex-editor--narrow .ce-toolbar__actions with + // https://github.com/codex-team/editor.js/blob/8f156a87ea42fcf9f398719a2236e89accd85662/src/styles/toolbar.css#L43 + // which specifies for the less specific .ce-toolbar__actions + right: 100%; } +/* @media screen and (min-width: 651px) { .codex-editor--narrow .ce-toolbox .ce-popover { - right: 400px; + // right: 400px; } } +*/