From 9ad6232c32ec4b85cafcf10b435f7b46cf404055 Mon Sep 17 00:00:00 2001 From: Faisal Ahammad Date: Fri, 13 Nov 2026 21:14:01 +0600 Subject: [PATCH] fix(animation): align welcome notice button icons WordPress core sets line-height: 2.3 on dashicons inside hero buttons. That works for inline buttons, but the welcome notice buttons are flex containers, so the tall line box pushes the glyph below the label. The external icon on the Learn More button sat about 15px under the text. Reset the icon line-height to the dashicons base value, scoped to the notice. Covers both hero buttons, LTR and RTL. Fixes #3169 --- src/animation/welcome-notice/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/animation/welcome-notice/style.scss b/src/animation/welcome-notice/style.scss index 013020532..f11aa1a1f 100644 --- a/src/animation/welcome-notice/style.scss +++ b/src/animation/welcome-notice/style.scss @@ -67,6 +67,12 @@ margin-left: 5px; } + // Core's line-height on hero button icons is tuned for inline layout. + // Inside our flex buttons it drops the glyph below the text. + .button.button-hero .dashicons { + line-height: 1; + } + p { max-width: 700px; font-size: 15px;