fix(PublicPage): add pricing supra dense class

This commit is contained in:
Matthieu Bessat 2020-08-10 14:20:04 +02:00
parent 313ee7cfd4
commit bea0b0e24e
2 changed files with 5 additions and 1 deletions

View file

@ -459,6 +459,10 @@ section {
margin-bottom: -1em; margin-bottom: -1em;
} }
.pricing.supra-dense {
flex-wrap: wrap;
}
.pricing-card { .pricing-card {
min-width: 10em; min-width: 10em;
max-width: 14em; max-width: 14em;

View file

@ -154,7 +154,7 @@
<h2>Tarifs</h2> <h2>Tarifs</h2>
<div class="section-divider"></div> <div class="section-divider"></div>
</div> </div>
<div class="pricing {% if data.pricing|length > 3 %}dense{% endif %}"> <div class="pricing {% if data.pricing|length > 3 %}dense{% endif %} {% if data.pricing|length > 5 %}supra-dense{% endif %}">
{% for item in data.pricing %} {% for item in data.pricing %}
<div class="pricing-card"> <div class="pricing-card">
<div class="pricing-label"> <div class="pricing-label">