Skip to content

Commit

Permalink
Remove unnecessary margin on Layout hook toggle (#65133)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Sep 11, 2024
1 parent 67b9a1a commit 865c053
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/block-editor/src/hooks/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ function LayoutPanelPure( {
<>
<ToggleControl
__nextHasNoMarginBottom
className="block-editor-hooks__toggle-control"
label={ __( 'Inner blocks use content width' ) }
checked={
layoutType?.name === 'constrained' ||
Expand Down
4 changes: 0 additions & 4 deletions packages/block-editor/src/hooks/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@
margin-bottom: $grid-unit-10;
}
}

.block-editor-hooks__toggle-control.block-editor-hooks__toggle-control {
margin-bottom: $grid-unit-20;
}

0 comments on commit 865c053

Please sign in to comment.