Skip to content

Commit

Permalink
fix: Small UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yammesicka committed Apr 5, 2024
1 parent e775a2b commit 4889947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lms/static/my.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ a {
margin-bottom: 2rem;
flex-direction: row;
justify-content: space-between;
align-items: center;
}

#show-all-exercises-action {
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/exercises.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 id="exercises-head">{{ _('Exercises') }}</h1>
{% set details = {'page': 'view', 'icon': 'check-circle-o', 'text': _('Check'), 'css': 'checked', 'page_id': exercise['solution_id']} %}
{% endif -%}
<a href="{{ details['page'] }}/{{ details['page_id'] }}" class="exercise-link">
<div class="exercise" {%- if exercise.grade_color %} style="border-inline-start-color: 8px solid {{ exercise.grade_color }};" {%- endif -%}>
<div class="exercise" {%- if exercise.grade_color %} style="border-inline-start-color: {{ exercise.grade_color }};" {%- endif -%}>
<div class="right-side {{ direction }}-language">
<i class="fa fa-{{ details['icon'] }} exercise-status-icon" aria-hidden="true"></i>
<div class="exercise-number me-3">{{ exercise['exercise_number'] }}</div>
Expand Down

0 comments on commit 4889947

Please sign in to comment.