diff --git a/lms/templates/courseware/courses.html b/lms/templates/courseware/courses.html index 438f6849a570..b1fb0af6165e 100644 --- a/lms/templates/courseware/courses.html +++ b/lms/templates/courseware/courses.html @@ -314,6 +314,13 @@ display: flex; /* Add flex display to horizontally align Sort By text and dropdown */ align-items: center; /* Vertically align the items in center */ } + + .courses{ + display: grid; + grid-template-columns: repeat(auto-fill, minmax(312px, 1fr)); + gap: 27px; /* Gap between items */ + } +