Merge pull request #19023 from kaushik94/bugfix/fix-enroll-button-safari

added fix for broken 'enroll in class' button on about course page
This commit is contained in:
David Ormsbee
2019-03-20 18:15:16 -04:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -8,4 +8,8 @@ $(document).ready(function() {
$('.tab').slideUp();
$(data_class + ':hidden').slideDown();
});
var isSafari = !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/);
if (isSafari) {
$('.main-cta').addClass('safari-wrapper');
}
});

View File

@@ -8,6 +8,10 @@
}
}
.safari-wrapper {
padding-bottom: 200px;
}
header.course-profile {
background: $course-profile-bg;
background-image: $homepage-bg-image;