Commit db5c187a by David Ormsbee

Merge pull request #220 from MITx/mm-university-profile-courses-display

Fix display of courses on university profile pages.
parents 2d71a716 a8e7f12b
...@@ -206,4 +206,15 @@ ...@@ -206,4 +206,15 @@
} }
} }
} }
.university-courses {
.course {
width: flex-grid(4);
margin-right: flex-gutter();
float: left;
&:nth-child(3n+3) {
margin-right: 0;
}
}
}
} }
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<%block name="university_description" /> <%block name="university_description" />
</article> </article>
</section> </section>
<section class="courses"> <section class="courses university-courses">
%for course in courses: %for course in courses:
<%include file="../course.html" args="course=course" /> <%include file="../course.html" args="course=course" />
%endfor %endfor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment