fix: icon position on course card
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user