- Issue created by @aduthois
- 🇫🇷France pdureau Paris
Proposal
No new prop.
Line 7 in https://git.drupalcode.org/project/ui_suite_dsfr/-/blob/1.1.x/components... :
<div class="fr-grid-row fr-grid-row--start fr-grid-row--gutters"> {% for category in top %} <div class="fr-col-12 fr-col-sm-3 fr-col-md-2">
We may need a cols rule according to
top|length
:- if 2 categories: 6/6
- if 3 categories: 4/4/4
- something like that
https://twig.symfony.com/doc/3.x/filters/length.html
However
This is not expected by the DSFR upstream documentation: https://storybook.systeme-de-design.gouv.fr/?path=/docs/footer--docs
The cols rules are always the same, independently from the number of categories.