From 39692d07db15019ecf4b258fdb1b012fde39e277 Mon Sep 17 00:00:00 2001 From: Kevin L <40267301+a8ck3n@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:41:04 +0800 Subject: [PATCH] Stats: Play nice with JITMs (#95187) * Basic CSS to hide JITM DIVs * Update rule for jp-admin-notices * Comments++ --- client/my-sites/stats/style.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/my-sites/stats/style.scss b/client/my-sites/stats/style.scss index fbeb926d6fb50c..cff3d45bcf87f3 100644 --- a/client/my-sites/stats/style.scss +++ b/client/my-sites/stats/style.scss @@ -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 {