Modèle:Gallery : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
{{#switch:{{{style}}} | {{#switch:{{{style}}} | ||
|1= | |1= | ||
− | <div class="grid{{{MinCol|3}}}" style="display: grid; grid-template-columns: repeat(auto-fit, minmax({{#if:{{{tailleCell|}}}|{{{tailleCell}}}|170}}px, | + | <div class="grid{{{MinCol|3}}}" style="display: grid; grid-template-columns: repeat(auto-fit, minmax({{#if:{{{tailleCell|}}}|{{{tailleCell}}}|170}}px, 0.5fr)); justify-content:left; grid-gap: {{#if:{{{Gap|}}}|{{{Gap}}}|5}}px;"> |
{{#fornumargs: number | {{#fornumargs: number | ||
| value | | value |