Dropdown: fix positioning

This commit is contained in:
Paul Sealock 2018-09-13 11:44:50 +12:00
parent e766a37e58
commit d5546e0858
2 changed files with 5 additions and 0 deletions

View File

@ -183,6 +183,7 @@ class AdvancedFilters extends Component {
{ availableFilterKeys.length > 0 && (
<div className="woocommerce-filters-advanced__add-filter">
<Dropdown
className="woocommerce-filters-advanced__add-filter-dropdown"
position="bottom center"
renderToggle={ ( { isOpen, onToggle } ) => (
<IconButton

View File

@ -99,6 +99,10 @@
}
}
.woocommerce-filters-advanced__add-filter-dropdown {
display: inline-block;
}
.woocommerce-filters-advanced__add-button {
color: inherit;
padding: $gap-smaller;