From 562e38a2de60e28db035dd1f4f7423cf157e8614 Mon Sep 17 00:00:00 2001 From: qtw97 Date: Fri, 24 Nov 2023 20:22:57 -0500 Subject: [PATCH] Update courses.html --- lms/templates/courseware/courses.html | 87 ++++++++++++++++----------- 1 file changed, 52 insertions(+), 35 deletions(-) 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 */ + } +
@@ -328,47 +335,57 @@ % if course_discovery_enabled: -