Skip to content

Commit

Permalink
Scope padding-right to custom items
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 13, 2024
1 parent e0879ad commit 2b5bd7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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,6 +12,10 @@
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;

Expand Down

0 comments on commit 2b5bd7b

Please sign in to comment.