diff --git a/lms/public/css/style.css b/lms/public/css/style.css index d140850e..be76a683 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -2300,4 +2300,41 @@ select { .class-overlay { top: 30%; +} + +.course-list-menu { + display: flex; + align-items: center; + float: right; +} + +.course-list-buttons { + display: flex; +} + +.course-list-buttons .btn { + margin-left: 0.5rem; +} + +@media (max-width: 767px) { + .course-list-menu { + float: none; + margin-bottom: 1rem; + } +} + +@media (max-width: 576px) { + .course-list-menu { + flex-direction: column; + align-items: unset; + } + + .course-list-buttons { + margin-top: 1rem; + justify-content: space-between; + } + + .course-list-buttons .btn { + margin-left: 0; + } } \ No newline at end of file diff --git a/lms/www/courses/index.html b/lms/www/courses/index.html index 98e69e88..bb7ae213 100644 --- a/lms/www/courses/index.html +++ b/lms/www/courses/index.html @@ -24,7 +24,7 @@ {% include "lms/templates/search_course/search_course.html" %} -