Skip to content

Commit

Permalink
Fix preview
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Aug 15, 2024
1 parent 36f4364 commit 6f4c156
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const JetpackSitesDataViews = ( {
...prevState,
selectedItem: site,
type: DATAVIEWS_LIST,
fields: [ 'site' ],
} ) );
},
[ isNotProduction, setDataViewsState ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export default function SitesDashboard() {
if ( noActiveSite ) {
return <EmptyState />;
}

return (
<Layout
className={ clsx(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@
overflow-y: auto;

li {
padding: 8px 24px;
border-bottom: 1px solid var(--color-accent-5);
}

Expand Down Expand Up @@ -394,6 +393,15 @@
}
}

// Ideally instead of reusing the site name full field
// We should be setting a media field and a primary field.
.dataviews-view-list__media-wrapper {
display: none;
}
.dataviews-view-list__primary-field {
display: none;
}

.sites-overview__stats-trend,
.sites-overview__column-action-button,
.sites-overview__row-status,
Expand Down

0 comments on commit 6f4c156

Please sign in to comment.