Make EmptyContent component fit narrow viewports (https://github.com/woocommerce/woocommerce-admin/pull/1703)

This commit is contained in:
Albert Juhé Lluveras 2019-02-28 09:42:11 +01:00 committed by GitHub
parent 00965ba5b3
commit ba2fb3c22b
2 changed files with 5 additions and 1 deletions

View File

@ -153,7 +153,6 @@ EmptyContent.propTypes = {
EmptyContent.defaultProps = {
illustration: '/empty-content.svg',
illustrationHeight: 400,
illustrationWidth: 400,
};

View File

@ -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;