diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-standalone.php b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-standalone.php index e8614ad73..3c5f96ad3 100644 --- a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-standalone.php +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-standalone.php @@ -34,8 +34,8 @@
- -
+ +
@@ -59,11 +59,11 @@
- -
+ +
- -
+ +
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 291b3aae8..3da5d3645 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 @@ -359,9 +359,12 @@ body.sensei { .sensei-course-theme__main-content { margin-left: auto !important; margin-right: auto !important; - max-width: var(--wp--style--global--content-size); - padding-left: var(--wp--preset--spacing--edge-space); - padding-right: var(--wp--preset--spacing--edge-space); + + > *:not(.wp-block-post-content) { + margin-left: auto !important; + margin-right: auto !important; + max-width: var(--content-size); + } } }