From 8c8bbee74add5409924518f975a5fe819c795bb1 Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:21:25 +1200 Subject: [PATCH] 2024 Theme: Further improvements to lesson action buttons layout Use a flex layout to fix issues with inconsistent styles loading --- .../themes/pub/wporg-learn-2024/src/style/_sensei.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss b/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss index d7508d35b..da5607654 100644 --- a/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss +++ b/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss @@ -70,7 +70,14 @@ body.sensei { &.single-lesson { .sensei-lesson-footer .sensei-buttons-container { + margin: unset; display: flex; + gap: var(--wp--preset--spacing--10); + + > *, + .sensei-buttons-container__button-block { + padding: unset; + } } // Hide the Lesson title breadcrumb as it's already displayed in the h1, and the leading slash.