Skip to content

Commit

Permalink
Use .interface-interface-skeleton__content instead of `.interface-i…
Browse files Browse the repository at this point in the history
…nterface-skeleton__body`
  • Loading branch information
t-hamano committed Jul 26, 2024
1 parent 0ef5354 commit 89eb0bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
clear: both;
}

.edit-post-layout .interface-interface-skeleton__body {
// Make this a stacking context to contain the z-index of children elements.
isolation: isolate;
}

// Adjust the position of the notices
.components-editor-notices__snackbar {
position: fixed;
Expand Down
5 changes: 0 additions & 5 deletions packages/edit-site/src/components/editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
transition: opacity 0.1s ease-out;
@include reduce-motion("transition");

.interface-interface-skeleton__body {
// Make this a stacking context to contain the z-index of children elements.
isolation: isolate;
}

&.is-loading {
opacity: 0;
}
Expand Down
5 changes: 5 additions & 0 deletions packages/editor/src/components/editor-interface/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
height: $header-height + $border-width;
}

.editor-editor-interface .interface-interface-skeleton__content {
// Make this a stacking context to contain the z-index of children elements.
isolation: isolate;
}

.editor-visual-editor {
flex: 1 0 auto;
}

0 comments on commit 89eb0bb

Please sign in to comment.