Skip to content

Commit

Permalink
fix overview broken design
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdemaegdt committed Nov 7, 2023
1 parent 15dad71 commit 97050bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/content/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
<div class="space-y-6">
<dl class="mt-5 grid grid-cols-1 rounded-lg bg-white overflow-hidden shadow divide-y divide-gray-200 md:grid-cols-3 md:divide-y-0 md:divide-x">
<div class="px-4 py-5 sm:p-6">
<dt class="text-base font-normal text-gray-900">
<dt class="mt-0 text-base font-normal text-gray-900">
Distance
</dt>
<dd class="mt-1 flex justify-between items-baseline md:block lg:flex">
<dd class="mt-1 pl-0 flex justify-between items-baseline md:block lg:flex">
<div class="flex items-baseline text-2xl font-semibold" :style="`color: ${voie.color}`">
{{ Math.round(voie.distance/1000) }}km
</div>
</dd>
</div>
<div class="px-4 py-5 sm:p-6">
<dt class="text-base font-normal text-gray-900">
<dt class="mt-0 text-base font-normal text-gray-900">
Fréquentation
</dt>
<dd class="mt-1 flex justify-between items-baseline md:block lg:flex">
<dd class="mt-1 pl-0 flex justify-between items-baseline md:block lg:flex">
<div class="flex items-baseline text-2xl font-semibold" :style="`color: ${voie.color}`">
{{ voie.trafic }}
</div>
</dd>
</div>
<div class="px-4 py-5 sm:p-6">
<dt class="text-base font-normal text-gray-900">
<dt class="mt-0 text-base font-normal text-gray-900">
Avancement
</dt>
<dd class="mt-1 flex justify-between items-baseline md:block lg:flex">
<dd class="mt-1 pl-0 flex justify-between items-baseline md:block lg:flex">
<div class="flex items-baseline text-2xl font-semibold" :style="`color: ${voie.color}`">
{{ avancement }}%
</div>
Expand Down

0 comments on commit 97050bd

Please sign in to comment.