fix(pricing): tables UX, layout flow, heading margins

This commit is contained in:
Matthieu Bessat 2023-10-23 19:49:06 +02:00
parent 5b059f7043
commit 4ea81accea
3 changed files with 29 additions and 15 deletions

View file

@ -8,7 +8,7 @@
<ul>
{{ range $.Site.Data.pricing.move }}
<li class="move-item">
De {{ .min }} à {{ .max }} km : {{ if eq .price 0 }}Gratuit{{ else }}{{ .price }} €{{ end }}
De {{ .min }} à {{ .max }} km : <span class="move-price">{{ if eq .price 0 }}Gratuit{{ else }}{{ .price }} €{{ end }}</span>
</li>
{{ end }}
</ul>
@ -35,8 +35,9 @@
<div class="operations-mosaic">
{{ range $.Site.Data.pricing.standalone }}
<div class="operations-category">
<div>
<h3>{{ .name }}</h3>
<table class="operations-table">
<table cellspacing="0" cellpadding="0" class="operations-table">
<tr>
<th>Opération</th>
<th class="operation-price">Prix</th>
@ -48,6 +49,7 @@
</tr>
{{ end }}
</table>
</div>
</div>
{{ end }}
</div>