From 6ff0cb7343f515c12c288491986eb5e20922c1cb Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Wed, 14 Oct 2026 20:05:34 +0200 Subject: [PATCH] Traffic settings: Restore spacing below the SEO dashboard notice The "Jetpack SEO has its own dashboard" notice sat flush against the Jetpack Stats card below it. SimpleNotice used to carry a 24px bottom margin through the `dops-notice` class; since it moved to the `@wordpress/ui` Notice, it carries none, and the settings cards only have a bottom margin of their own. The gap is missing whether Stats is on or off, but the borderless "Activate Jetpack Stats" card makes it most obvious. Give the notice the same 24px bottom margin the cards use. --- projects/plugins/jetpack/_inc/client/traffic/style.scss | 5 +++++ .../jetpack/changelog/fix-traffic-seo-moved-notice-spacing | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/fix-traffic-seo-moved-notice-spacing diff --git a/projects/plugins/jetpack/_inc/client/traffic/style.scss b/projects/plugins/jetpack/_inc/client/traffic/style.scss index 3236c171c5f9..3d881f442689 100644 --- a/projects/plugins/jetpack/_inc/client/traffic/style.scss +++ b/projects/plugins/jetpack/_inc/client/traffic/style.scss @@ -341,3 +341,8 @@ $twitter-pofile-image-padding: 17px; .jp-stats-form-fieldset { margin-bottom: 20px; } + +// Sits between settings cards, which carry only a bottom margin. +.jp-seo-moved-banner { + margin-block-end: rem.convert(24px); +} diff --git a/projects/plugins/jetpack/changelog/fix-traffic-seo-moved-notice-spacing b/projects/plugins/jetpack/changelog/fix-traffic-seo-moved-notice-spacing new file mode 100644 index 000000000000..3b0c4673f22c --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-traffic-seo-moved-notice-spacing @@ -0,0 +1,4 @@ +Significance: patch +Type: bugfix + +Traffic settings: Add spacing below the notice pointing to the SEO dashboard.