Skip to content

Commit

Permalink
Remove the border from module title entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jul 15, 2024
1 parent c53f67c commit 62adb0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 0 additions & 8 deletions wp-content/themes/pub/wporg-learn-2024/src/style/_rtl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 62adb0c

Please sign in to comment.