Skip to content

Commit

Permalink
Fix key concept cards
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie committed Sep 9, 2024
1 parent 8257bab commit 8ecbf74
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/lessons/templates/lessons/chat_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ <h2 id="key-concepts-heading" class="mt-5 mb-3"><i class="bi bi-lightbulb-fill">
<div class="row row-cols-1 row-cols-md-3 g-4">
{% for concept in key_concepts %}
<div class="col">
<div class="h-100">
<div class="card h-100">
{% if concept.image %}
{% image concept.image width-1024 as concept_image %}
<img src="{{ concept_image.url }}" class="img-fluid rounded" alt="{{ concept.concept }}" style="object-fit: cover; height: 200px;">
<img src="{{ concept_image.url }}" class="card-img-top" alt="{{ concept.concept }}" style="object-fit: cover; height: 200px;">
{% endif %}
<div class="p-2">
<p class="mb-0 text-center">
{{ concept.concept }}
</p>
<div class="card-body">
<p class="card-text text-center mb-0">{{ concept.concept }}</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 8ecbf74

Please sign in to comment.