Skip to content

Commit

Permalink
Stats: Play nice with JITMs (#95187)
Browse files Browse the repository at this point in the history
* Basic CSS to hide JITM DIVs

* Update rule for jp-admin-notices

* Comments++
  • Loading branch information
a8ck3n authored Oct 9, 2024
1 parent be8ca05 commit 39692d0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions client/my-sites/stats/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@

$stats-card-min-width: 390px;

// Force any JITM from Jetpack to be hidden.
// We currently manage our own CTAs across Stats pages.

.jetpack-jitm-message {
display: none;
}

// TODO: Add this DIV to all tabs.
// Currently only on the Traffic page.
// JITMs will show above the Stats UI on other tabs.

#jp-admin-notices {
display: none;
}

// Module container
@include breakpoint-deprecated( ">960px" ) {
.stats__module-column {
Expand Down

0 comments on commit 39692d0

Please sign in to comment.