Skip to content

Commit

Permalink
fix(ui): Reorder CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
attitude authored and matej21 committed Oct 19, 2023
1 parent c908a52 commit 3cda453
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 3cda453

Please sign in to comment.