diff --git a/lms/static/sass/views/_program-details.scss b/lms/static/sass/views/_program-details.scss index f8dd31d41c..b2fbbfa6e5 100644 --- a/lms/static/sass/views/_program-details.scss +++ b/lms/static/sass/views/_program-details.scss @@ -442,7 +442,7 @@ } .course-details { - float: none; + float: left; .course-title { font-size: 1em; @@ -467,13 +467,20 @@ display: table; width: 100%; } + .course-content { + overflow: hidden; + } } .course-details { + width: 100%; + float: none; @media(min-width: $bp-screen-md) { display: table-cell; vertical-align: top; padding: 0 10px 0 0; + float: left; + width: calc(100% - 205px); } } @@ -481,6 +488,7 @@ @media(min-width: $bp-screen-md) { width: 200px; text-align: right; + float: right; } .course-enroll-view { diff --git a/lms/templates/learner_dashboard/course_card.underscore b/lms/templates/learner_dashboard/course_card.underscore index 437cf6b99c..b903074a4d 100644 --- a/lms/templates/learner_dashboard/course_card.underscore +++ b/lms/templates/learner_dashboard/course_card.underscore @@ -1,25 +1,27 @@