fix: icon position on course card
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<div class="vertically-center">
|
||||||
{% set student_count = get_students(course.name) | length %}
|
{% set student_count = get_students(course.name) | length %}
|
||||||
{% if student_count %}
|
{% if student_count %}
|
||||||
<div class="vertically-center">
|
<div class="vertically-center">
|
||||||
@@ -37,7 +38,7 @@
|
|||||||
|
|
||||||
{% set avg_rating = get_average_rating(course.name) %}
|
{% set avg_rating = get_average_rating(course.name) %}
|
||||||
{% if avg_rating %}
|
{% if avg_rating %}
|
||||||
<div class="vertically-center">
|
<div class="vertically-center ml-3">
|
||||||
<svg class="icon icon-md">
|
<svg class="icon icon-md">
|
||||||
<use href="#icon-star"></use>
|
<use href="#icon-star"></use>
|
||||||
</svg>
|
</svg>
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="course-card-title">{{ course.title }}</div>
|
<div class="course-card-title">{{ course.title }}</div>
|
||||||
|
|
||||||
{% if membership and not read_only %}
|
{% if membership and not read_only %}
|
||||||
|
|||||||
Reference in New Issue
Block a user