Skip to content

Commit

Permalink
Correction for transport.data.gouv.fr in home.html (#20793)
Browse files Browse the repository at this point in the history
* Correction for transport.data.gouv.fr in home.html

Delete extra space in the list of highlighted startups

* Add word wrap for title of cards
  • Loading branch information
AurelienC authored Oct 9, 2024
1 parent ce5e67a commit cb2d252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 class="section-title">Des services à impact</h2>
<h3 class="section-description">conçus pour tous, avec les administrations</h3>
<div class="fr-grid-row fr-grid-row--gutters fr-grid-row--center startups fr-pt-6w">
{% assign startups = site.startups %}
{% assign starts = "transport. data.gouv.fr,La Bonne Alternance,Pix,Mon-entreprise" | split: "," %}
{% assign starts = "transport.data.gouv.fr,La Bonne Alternance,Pix,Mon-entreprise" | split: "," %}
{% for startup in startups %}
{% if starts contains startup.title %}
<div class="fr-col-12 fr-col-md-3">
Expand Down
4 changes: 4 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
padding: 1em;
}

.fr-card__title {
word-wrap: break-word;
}

/* Ajouter un nouveau style rond sur les cartes */
.fr-card.fr-card__img__rounded {
background: linear-gradient(180deg, #ffffff00 20%, #f9f8f6 20%)
Expand Down

0 comments on commit cb2d252

Please sign in to comment.