Skip to content

Commit

Permalink
A4A: Remove the .is-hiding-navigation style, the navigation bar is no…
Browse files Browse the repository at this point in the history
…t used.
  • Loading branch information
cleacos committed Aug 26, 2024
1 parent 4e3bc78 commit ef9d02b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,7 @@ export default function SitesDashboard() {
} }
>
<JetpackSitesDataViews
className={ clsx( 'sites-overview__content', {
'is-hiding-navigation': navItems.length <= 1,
} ) }
className={ clsx( 'sites-overview__content' ) }
data={ data }
isLoading={ isLoading }
isLargeScreen={ isLargeScreen || false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,6 @@

.sites-overview__content {
margin-top: 24px;

&.is-hiding-navigation {
margin-top: 48px; // If there is no navigation bar we need to add a bigger margin.
}
}

.dataviews-filters__view-actions {
Expand Down

0 comments on commit ef9d02b

Please sign in to comment.