From 3cda4537c769dc7ede464f26fbc56c9a4cff6dc1 Mon Sep 17 00:00:00 2001 From: Martin Adamko Date: Mon, 9 Oct 2023 14:10:55 +0200 Subject: [PATCH] fix(ui): Reorder CSS --- packages/ui/src/components/Editor/EditorCanvas.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;