Skip to content

Commit

Permalink
fix(partner): icones de la vue en liste
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 4, 2024
1 parent 09a865f commit e247aaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="col mb-3 mb-md-5">
<div class="card c-card has-one-link-inside h-100">

<div class="card-header card-header--partners">
<div class="card-header card-header--partners mb-3">
<img alt="Best Partner Ever" class="img-fluid" loading="lazy" src="[img src]"/>
</div>

Expand Down
1 change: 1 addition & 0 deletions lacommunaute/static/stylesheets/itou_communaute.scss
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,5 @@ span.highlighted {

.card-header--partners {
max-height: 100px;
max-width: 150px;
}
2 changes: 1 addition & 1 deletion lacommunaute/templates/partner/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="s-title-01__title h1">{% trans "Partners" %}</h1>
<div class="col mb-3 mb-md-5">
<div class="card c-card has-one-link-inside h-100">
{% if partner.logo %}
<div class="card-header card-header--partners">
<div class="card-header card-header--partners mb-3">
<img src="{{ partner.logo.url }}" alt="{{ partner.name }}" loading="lazy" class="img-fluid">
</div>
{% endif %}
Expand Down

0 comments on commit e247aaa

Please sign in to comment.