Skip to content

Commit

Permalink
Merge pull request #634 from contember/fix/hovering-toolbar
Browse files Browse the repository at this point in the history
fix(ui): Reorder CSS
  • Loading branch information
matej21 authored Oct 19, 2023
2 parents c908a52 + 3cda453 commit f37bdf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ui/src/components/Editor/EditorCanvas.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
box-shadow: var(--cui-box-shadow--controls-focus-ring);
}

:where(.cui-editorCanvas.view-hovering-toolbar *[contenteditable=true]) {
padding-bottom: calc(56px + 10 * var(--cui-gap));
}

:where(.cui-editorCanvas-canvas > [class^=cui-editor]) {
padding-bottom: 0;
padding-left: var(--cui-editor-canvas--padding-element-left);
Expand All @@ -47,6 +43,10 @@
padding-top: var(--cui-editor-canvas--padding-element-top);
}

:where(.cui-editorCanvas.view-hovering-toolbar *[contenteditable=true]) {
padding-bottom: calc(56px + 10 * var(--cui-gap));
}

:where(.cui-editorCanvas-canvas) {
cursor: text;
display: flex;
Expand Down

0 comments on commit f37bdf6

Please sign in to comment.