diff --git a/packages/ui/src/components/Editor/EditorCanvas.css b/packages/ui/src/components/Editor/EditorCanvas.css index 99df04bec5..09fdb97247 100644 --- a/packages/ui/src/components/Editor/EditorCanvas.css +++ b/packages/ui/src/components/Editor/EditorCanvas.css @@ -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); @@ -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;