diff --git a/lms/static/sass/views/_program-details.scss b/lms/static/sass/views/_program-details.scss index 654ab230cc..76a13a9d82 100644 --- a/lms/static/sass/views/_program-details.scss +++ b/lms/static/sass/views/_program-details.scss @@ -458,7 +458,14 @@ } .course-details { - float: left; + width: 100%; + float: none; + + @media (min-width: $bp-screen-md) { + display: table-cell; + vertical-align: top; + float: left; + } .course-title { font-size: 1em; @@ -494,18 +501,6 @@ } } - .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; - } - } - .course-actions { @media (min-width: $bp-screen-md) { width: 100%;