Skip to content

Commit

Permalink
Update courses.html
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqtw committed Nov 27, 2023
1 parent b1e5d96 commit 3df4410
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions lms/templates/courseware/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,24 @@
align-items: center; /* Vertically align the items in center */
}

.courses{
.courses-list {
display: flex;
flex-wrap: wrap;
gap: 27px;
width: 312px;
justify-content:flex-start;
}

.courses-listing-item {
flex: 0 1 25%; /* flex-grow: 0, flex-shrink: 1, flex-basis: 25% */
box-sizing: border-box; /* Includes padding and border in the element's total width */
/* Add margin or padding as needed, keeping in mind the total width */
}


.find-courses .courses-container .courses:not(.no-course-discovery), .university-profile .courses-container .courses:not(.no-course-discovery) {
float: left;
display: block;
margin-right: 2.35765%;
width: 100%;
}

</style>
Expand Down

0 comments on commit 3df4410

Please sign in to comment.