Dropdown: fix positioning
This commit is contained in:
parent
e766a37e58
commit
d5546e0858
|
@ -183,6 +183,7 @@ class AdvancedFilters extends Component {
|
||||||
{ availableFilterKeys.length > 0 && (
|
{ availableFilterKeys.length > 0 && (
|
||||||
<div className="woocommerce-filters-advanced__add-filter">
|
<div className="woocommerce-filters-advanced__add-filter">
|
||||||
<Dropdown
|
<Dropdown
|
||||||
|
className="woocommerce-filters-advanced__add-filter-dropdown"
|
||||||
position="bottom center"
|
position="bottom center"
|
||||||
renderToggle={ ( { isOpen, onToggle } ) => (
|
renderToggle={ ( { isOpen, onToggle } ) => (
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|
|
@ -99,6 +99,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.woocommerce-filters-advanced__add-filter-dropdown {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.woocommerce-filters-advanced__add-button {
|
.woocommerce-filters-advanced__add-button {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
padding: $gap-smaller;
|
padding: $gap-smaller;
|
||||||
|
|
Loading…
Reference in New Issue