Skip to content

Commit

Permalink
FiltersPanel: Add duotone content class to dropdown wrapper and updat…
Browse files Browse the repository at this point in the history
…e styles
  • Loading branch information
yogeshbhutkar committed Nov 21, 2024
1 parent bbffa48 commit 8aba01a
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 @@ -202,7 +202,10 @@ export default function FiltersPanel( {
);
} }
renderContent={ () => (
<DropdownContentWrapper paddingSize="small">
<DropdownContentWrapper
paddingSize="small"
className="components-dropdown-content-wrapper__duotone-content"
>
<MenuGroup label={ __( 'Duotone' ) }>
<p>
{ __(
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/dropdown/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.components-popover__content {
padding: $grid-unit-10;

.components-dropdown-content-wrapper {
.components-dropdown-content-wrapper__duotone-content {
margin: 0;
}

Expand Down

0 comments on commit 8aba01a

Please sign in to comment.