Skip to content

Commit

Permalink
Pages: scope padding to custom items (#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

1 comment on commit 5931dd5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 5931dd5.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12318798423
📝 Reported issues:

Please sign in to comment.