Skip to content

Commit

Permalink
Move toolbox left
Browse files Browse the repository at this point in the history
  • Loading branch information
jschanker committed Nov 11, 2022
1 parent 5808c59 commit e943646
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/PathwayExercise/ContentEdit/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
*/

0 comments on commit e943646

Please sign in to comment.