From a0f13441d8e3e06976d652def132f14e419da3ce Mon Sep 17 00:00:00 2001 From: Andres Espinel Date: Mon, 6 Jan 2025 13:59:30 -0500 Subject: [PATCH] fix: fixed scss markings --- src/courseware/course/celebration/CelebrationModal.scss | 1 - .../sidebar/sidebars/course-outline/CourseOutlineTray.scss | 3 --- src/index.scss | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/courseware/course/celebration/CelebrationModal.scss b/src/courseware/course/celebration/CelebrationModal.scss index 595d15c2a5..704ac2933d 100644 --- a/src/courseware/course/celebration/CelebrationModal.scss +++ b/src/courseware/course/celebration/CelebrationModal.scss @@ -22,7 +22,6 @@ justify-content: center; button { - @extend .btn-primary; font-size: 1.2rem; width: 50%; } diff --git a/src/courseware/course/sidebar/sidebars/course-outline/CourseOutlineTray.scss b/src/courseware/course/sidebar/sidebars/course-outline/CourseOutlineTray.scss index 4173ef7e59..26993a1018 100644 --- a/src/courseware/course/sidebar/sidebars/course-outline/CourseOutlineTray.scss +++ b/src/courseware/course/sidebar/sidebars/course-outline/CourseOutlineTray.scss @@ -79,9 +79,6 @@ } } - &:last-child .pgn_collapsible { - @extend .mb-0; - } } .collapsible-body { diff --git a/src/index.scss b/src/index.scss index 6e9b4eeb4b..a705c4871a 100755 --- a/src/index.scss +++ b/src/index.scss @@ -306,8 +306,8 @@ // here we compensate for the padding of the parent div with "container-xl" // class to ensure that the viewport width is the same as the width of the // iframe. - margin-left: -var(--pgn-spacing-grid-gutter-width) * .5; - margin-right: -var(--pgn-spacing-grid-gutter-width) * .5; + margin-left: calc(-var(--pgn-spacing-grid-gutter-width) * .5); + margin-right: calc(-var(--pgn-spacing-grid-gutter-width) * .5); margin-bottom: 2rem;