Skip to content

Commit

Permalink
MDL-74118 themes: Last section style when one section per page
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Anabitarte committed Mar 8, 2022
1 parent 1d99ba1 commit 34b7560
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion theme/boost/scss/moodle/course.scss
Expand Up @@ -1296,7 +1296,7 @@ $activity-add-hover: theme-color-level('primary', -10) !default;
padding-left: 0;
border-bottom: $border-width solid $border-color;

&:last-child {
&:last-child:not(.section-summary) {
border-bottom: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/boost/style/moodle.css
Expand Up @@ -14681,7 +14681,7 @@ span.editinstructions {
list-style: none;
padding-left: 0;
border-bottom: 1px solid #dee2e6; }
.course-section:last-child {
.course-section:last-child:not(.section-summary) {
border-bottom: 0; }
.course-section .sectionbadges .badge {
margin-left: 0.5rem; }
Expand Down
2 changes: 1 addition & 1 deletion theme/classic/style/moodle.css
Expand Up @@ -14681,7 +14681,7 @@ span.editinstructions {
list-style: none;
padding-left: 0;
border-bottom: 1px solid #dee2e6; }
.course-section:last-child {
.course-section:last-child:not(.section-summary) {
border-bottom: 0; }
.course-section .sectionbadges .badge {
margin-left: 0.5rem; }
Expand Down

0 comments on commit 34b7560

Please sign in to comment.