Skip to content

Commit

Permalink
Use __nextHasNoMarginBottom
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Nov 15, 2023
1 parent 6daf5f2 commit 353ca40
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/edit-site/src/components/dataviews/in-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default ( { filter, view, onChangeView } ) => {
return (
<SelectControl
id={ id }
__nextHasNoMarginBottom={ true }
value={ activeValue }
prefix={
<InputControlPrefixWrapper
Expand Down
1 change: 1 addition & 0 deletions packages/edit-site/src/components/dataviews/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function Search( { label, view, onChangeView } ) {
const searchLabel = label || __( 'Filter list' );
return (
<SearchControl
__nextHasNoMarginBottom={ true }
onChange={ setSearch }
value={ search }
label={ searchLabel }
Expand Down
3 changes: 0 additions & 3 deletions packages/edit-site/src/components/dataviews/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
min-height: 100%;
}
}
.components-base-control > .components-base-control__field {
margin-bottom: 0;
}

.dataviews-pagination {
margin-top: auto;
Expand Down

0 comments on commit 353ca40

Please sign in to comment.