fix: icon position on course card

This commit is contained in:
Jannat Patel
2022-03-17 15:17:21 +05:30
parent 9351edebe0
commit 984054f00f

View File

@@ -25,6 +25,7 @@
</div>
{% endif %}
<div class="vertically-center">
{% set student_count = get_students(course.name) | length %}
{% if student_count %}
<div class="vertically-center">
@@ -37,7 +38,7 @@
{% set avg_rating = get_average_rating(course.name) %}
{% if avg_rating %}
<div class="vertically-center">
<div class="vertically-center ml-3">
<svg class="icon icon-md">
<use href="#icon-star"></use>
</svg>
@@ -45,6 +46,7 @@
</div>
{% endif %}
</div>
</div>
<div class="course-card-title">{{ course.title }}</div>
{% if membership and not read_only %}