Skip to content

Commit

Permalink
Merge branch 'add/customer-home-section' of github.com:Automattic/wp-…
Browse files Browse the repository at this point in the history
…calypso into add/customer-home-section
  • Loading branch information
eliorivero committed Aug 8, 2019
2 parents 1531a59 + e4c5ee2 commit 8d565c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions client/my-sites/customer-home/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ class Home extends Component {
if ( ! canUserUseCustomerHome ) {
return (
<EmptyContent
title={ preventWidows(
translate( 'Only site administrators can view the Customer Home.' )
) }
title={ preventWidows( translate( 'You are not authorized to view this page.' ) ) }
line={ preventWidows(
translate(
"Ensure you have selected the right site on the sidebar. If it's correct, you might want to contact the administrator of this site."
Expand Down
10 changes: 7 additions & 3 deletions client/my-sites/customer-home/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.customer-home__layout-col {
width: 49%;
@include breakpoint('>960px') {
width: 49%;
}
}

.customer-home__card-subheader {
Expand All @@ -9,8 +11,10 @@
}

.customer-home__layout {
display: flex;
justify-content: space-between;
@include breakpoint('>960px') {
display: flex;
justify-content: space-between;
}
}

.customer-home__card-button-pair {
Expand Down

0 comments on commit 8d565c7

Please sign in to comment.