Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ function CustomDataViewItem( { dataviewId, isActive } ) {
icon={ moreVertical }
label={ __( 'Actions' ) }
toggleProps={ {
size: 'small',
className: 'edit-site-sidebar-navigation-screen-dataviews__ellipsis-button',
style: {
color: 'inherit',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@
text-transform: uppercase;
}
}

.edit-site-sidebar-navigation-screen-dataviews__ellipsis-button {
display: flex;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @ciampo If you place a small button inside a DropDownMenu then .components-dropdown-menu renders at a peculiar size. Here is was 26.5px tall, in Storybook it's 27.5px. Seems like a bug to fix separately, then we can remove this style.

Copy link
Contributor

Choose a reason for hiding this comment

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

Opened #56005
to fix this at the component level, you should be able to remove the custom styles once that gets merged

Copy link
Contributor

Choose a reason for hiding this comment

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

New attempt in #56136

}