Make EmptyContent component fit narrow viewports (https://github.com/woocommerce/woocommerce-admin/pull/1703)
This commit is contained in:
parent
00965ba5b3
commit
ba2fb3c22b
|
@ -153,7 +153,6 @@ EmptyContent.propTypes = {
|
|||
|
||||
EmptyContent.defaultProps = {
|
||||
illustration: '/empty-content.svg',
|
||||
illustrationHeight: 400,
|
||||
illustrationWidth: 400,
|
||||
};
|
||||
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
/** @format */
|
||||
|
||||
.woocommerce-empty-content {
|
||||
margin-bottom: $gap;
|
||||
text-align: center;
|
||||
|
||||
.woocommerce-empty-content__illustration {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.woocommerce-empty-content__actions {
|
||||
.components-button + .components-button {
|
||||
margin-left: $gap;
|
||||
|
|
Loading…
Reference in New Issue