Style admin note action button and snooze dropdown.

This commit is contained in:
Jeff Stieler 2019-03-19 09:50:37 -06:00
parent 731a131894
commit 6ab3f0b9f9
2 changed files with 14 additions and 0 deletions

View File

@ -130,6 +130,7 @@ class StoreAlerts extends Component {
const snooze = alert.is_snoozable && (
<Dropdown
className="woocommerce-store-alerts__snooze"
position="bottom"
expandOnMobile
renderToggle={ ( { isOpen, onToggle } ) => (

View File

@ -36,6 +36,9 @@
}
a.components-button {
min-height: 36px;
padding: 4px 16px;
+ .components-button {
margin-left: 10px;
}
@ -185,3 +188,13 @@
}
}
}
.woocommerce-store-alerts__snooze {
display: inline-flex;
margin-left: 10px;
min-height: 34px;
.woocommerce-dropdown-button__labels {
min-height: 34px;
}
}