From e94364656a5d0761fc7aa79e6578377a98dc37fa Mon Sep 17 00:00:00 2001 From: jschanker Date: Fri, 11 Nov 2022 12:04:14 -0500 Subject: [PATCH] Move toolbox left https://github.com/codex-team/editor.js/pull/1815 --- .../PathwayExercise/ContentEdit/styles.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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; } } +*/