Skip to content

Commit

Permalink
fix(partner): mise en forme des logos de la vue en liste (#764)
Browse files Browse the repository at this point in the history
## Description

🎸 correction 

## Type de changement

🪲 Correction de bug (changement non cassant qui corrige un problème).
🎨 changement d'UI

### Captures d'écran (optionnel)


![image](https://github.com/user-attachments/assets/14cd4978-37a1-479e-9122-5ea68dc13173)
  • Loading branch information
vincentporte authored Sep 4, 2024
1 parent 09a865f commit 7a84319
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 7a84319

Please sign in to comment.