Skip to content

Commit

Permalink
Merge branch 'main' into develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Jan 13, 2025
2 parents 414f6b5 + 7b434e3 commit 75c014a
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@
*/
import { cloneDeep } from 'lodash';
import PropTypes from 'prop-types';
import classnames from 'classnames';

/**
* WordPress dependencies
@@ -148,7 +149,12 @@ export default function WPDashboardPopularPagesGA4( {

return (
/* TODO: decouple the styles from search-console class */
<div className="googlesitekit-search-console-widget">
<div
className={ classnames( 'googlesitekit-search-console-widget', {
'googlesitekit-search-console-widget--empty-data':
isGatheringData || ! rows?.length,
} ) }
>
<h3>
{ __( 'Top content over the last 28 days', 'google-site-kit' ) }
</h3>
Original file line number Diff line number Diff line change
@@ -115,10 +115,17 @@
}

&.googlesitekit-wp-dashboard-search_console_active_and_connected {
min-height: 1080px;
min-height: 650px;

@media (max-width: $bp-mobileOnly) {
min-height: 870px;
.googlesitekit-search-console-widget {

&:not(.googlesitekit-search-console-widget--empty-data) {
min-height: 430px;

@media (max-width: $bp-mobileOnly) {
min-height: 220px;
}
}
}
}
}

0 comments on commit 75c014a

Please sign in to comment.