Skip to content

Commit

Permalink
Pages: scope padding to custom items (WordPress#67977)
Browse files Browse the repository at this point in the history
Co-authored-by: oandregal <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
4 people authored Dec 13, 2024
1 parent b371f6e commit 5931dd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default function CustomDataViewsList( { type, activeView, isCustom } ) {
<div className="edit-site-sidebar-navigation-screen-dataviews__group-header">
<Heading level={ 2 }>{ __( 'Custom Views' ) }</Heading>
</div>
<ItemGroup>
<ItemGroup className="edit-site-sidebar-navigation-screen-dataviews__custom-items">
{ customDataViews.map( ( customViewRecord ) => {
return (
<CustomDataViewItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
margin-right: -$grid-unit-20;
}

.edit-site-sidebar-navigation-screen-dataviews__custom-items .edit-site-sidebar-dataviews-dataview-item {
padding-right: $grid-unit-10;
}

.edit-site-sidebar-dataviews-dataview-item {
border-radius: $radius-small;
padding-right: $grid-unit-10;

.edit-site-sidebar-dataviews-dataview-item__dropdown-menu {
min-width: initial;
Expand Down

0 comments on commit 5931dd5

Please sign in to comment.