From 62adb0cf2817e868147bd0be0e9feb24975478dc Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 15 Jul 2024 13:37:50 -0400 Subject: [PATCH] Remove the border from module title entirely --- .../themes/pub/wporg-learn-2024/src/style/_rtl.scss | 8 -------- .../themes/pub/wporg-learn-2024/src/style/_sensei.scss | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/pub/wporg-learn-2024/src/style/_rtl.scss b/wp-content/themes/pub/wporg-learn-2024/src/style/_rtl.scss index 8a01f9a67..f77840bfb 100644 --- a/wp-content/themes/pub/wporg-learn-2024/src/style/_rtl.scss +++ b/wp-content/themes/pub/wporg-learn-2024/src/style/_rtl.scss @@ -36,14 +36,6 @@ body.rtl { } } - // Fix the border on the Sensei lesson page. - .wp-block-sensei-lms-course-theme-lesson-module { - border-left: 2px solid; - border-right: 0; - padding-left: 0.5em; - padding-right: 0; - } - // Fix the spacing of the locked lesson icon. .sensei-course-theme-locked-lesson-notice__icon { padding-right: 14px; 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 9155e9ff8..ec59bcbba 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 @@ -26,6 +26,12 @@ body.sensei { } } + // Remove the border on module title. + .wp-block-sensei-lms-course-theme-lesson-module { + padding-left: unset; + border: none; + } + .sensei-lms-course-navigation-module__header { .sensei-collapsible__toggle.sensei-lms-course-navigation-module__button { flex-direction: row-reverse;