Skip to content
Snippets Groups Projects
Unverified Commit e911898e authored by David Ormsbee's avatar David Ormsbee Committed by GitHub
Browse files

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

added fix for broken 'enroll in class' button on about course page
parents aa06f51d 17de6146
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
});
......@@ -8,6 +8,10 @@
}
}
.safari-wrapper {
padding-bottom: 200px;
}
header.course-profile {
background: $course-profile-bg;
background-image: $homepage-bg-image;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment