Skip to content

Commit

Permalink
Remove unneeded margin: 0 override.
Browse files Browse the repository at this point in the history
This is because margin from the Notice component has been removed in PR WordPress#54800.
  • Loading branch information
ecgan committed Jan 12, 2024
1 parent d0287db commit 07e6216
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
5 changes: 1 addition & 4 deletions packages/block-editor/src/components/block-list/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/* stylelint-disable */
_::-webkit-full-page-media, _:future, :root .block-editor-block-list__layout::selection,
_::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-block-list__layout::selection {
background-color: transparent;
background-color: transparent;
}
/* stylelint-enable */

Expand Down Expand Up @@ -199,9 +199,6 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
width: 100%;

.components-notice {
margin-left: 0;
margin-right: 0;

.components-notice__content {
font-size: $default-font-size;
}
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions packages/block-library/src/page-list/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@
}
}

.wp-block-page-list .components-notice {
margin-left: 0;
}

// Space spinner to give it breathing
// room when block is selected and has focus outline.
.wp-block-page-list__loading-indicator-container {
Expand Down
1 change: 0 additions & 1 deletion packages/edit-widgets/src/components/notices/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
.edit-widgets-notices__pinned {
.components-notice {
box-sizing: border-box;
margin: 0;
border-bottom: $border-width solid rgba(0, 0, 0, 0.2);
padding: 0 $grid-unit-15;

Expand Down
1 change: 0 additions & 1 deletion packages/editor/src/components/editor-notices/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

.components-notice {
box-sizing: border-box;
margin: 0;
border-bottom: $border-width solid rgba(0, 0, 0, 0.2);
padding: 0 $grid-unit-15;

Expand Down

0 comments on commit 07e6216

Please sign in to comment.