@@ -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);
+ }
}
}