Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site editor: remove canvas box shadow #50374

Merged
merged 1 commit into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,16 @@
overflow: auto;
}

/*
Temporary to hide the contextual toolbar in view mode.
See: https://github.com/WordPress/gutenberg/pull/46298
This rule can possibly be removed once the
contextual toolbar has been redesigned.
See: https://github.com/WordPress/gutenberg/issues/40450
*/
&.is-view-mode {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);

/*
Temporary to hide the contextual toolbar in view mode.
See: https://github.com/WordPress/gutenberg/pull/46298
This rule can possibly be removed once the
contextual toolbar has been redesigned.
See: https://github.com/WordPress/gutenberg/issues/40450
*/
.block-editor-block-contextual-toolbar {
display: none;
}
Expand Down
2 changes: 0 additions & 2 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@

& > div {
color: $gray-900;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
}

@include break-medium {
Expand All @@ -134,7 +133,6 @@

& > div {
border-radius: 0;
box-shadow: none;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions packages/edit-site/src/components/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

.edit-site {
.edit-site-list {
background: $white;
border-radius: $radius-block-ui * 4;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);

.interface-interface-skeleton__editor {
min-width: 100%;

Expand Down