Fixing more menu width in product block editor header (#38053)
* Fixing more menu styles * Adding changelog
This commit is contained in:
parent
3002a19bce
commit
d014e80a20
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fixing more menu width.
|
|
@ -16,7 +16,11 @@ import { WooProductMoreMenuItem } from '../woo-more-menu-item';
|
|||
export const MoreMenu = () => {
|
||||
return (
|
||||
<>
|
||||
<MoreMenuDropdown>
|
||||
<MoreMenuDropdown
|
||||
popoverProps={ {
|
||||
className: 'woocommerce-product-header__more-menu',
|
||||
} }
|
||||
>
|
||||
{ ( { onClose }: { onClose: () => void } ) => (
|
||||
<>
|
||||
<WooProductMoreMenuItem.Slot
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
margin-left: auto;
|
||||
}
|
||||
|
||||
.components-popover__content {
|
||||
min-width: auto;
|
||||
width: min-content;
|
||||
}
|
||||
|
||||
.woocommerce-product-header__actions {
|
||||
display: flex;
|
||||
|
||||
|
@ -53,3 +48,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-product-header__more-menu {
|
||||
.components-popover__content {
|
||||
min-width: auto;
|
||||
width: min-content;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue