Removed svg padding

This commit is contained in:
Nicolai Ort 2023-04-15 19:00:38 +02:00
parent 3f98268967
commit 38a91f730b
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 7 additions and 7 deletions

View File

@ -115,15 +115,15 @@
/>
</label>
{#if lastscan_totaldistance}
<div class="w-full text-center items-center">
<div class="w-full text-center items-center">
{#if !lastscan_valid || lastscan_error}
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-48 h-48 text-center mx-auto text-red-600"
class="w-30 h-30 text-center mx-auto text-red-600"
viewBox="5.25 5.25 13.5 13.5"
>
<path
stroke-linecap="round"
@ -135,19 +135,19 @@
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-48 h-48 text-center mx-auto text-green-600"
class="w-30 h-30 text-center mx-auto text-green-600"
viewBox="3.75 4.5 16.5 15"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M4.5 12.75l6 6 9-13.5"
d="m4.5 12.75 6 6 9-13.5"
/>
</svg>
{/if}
</div>
</div>
<h1 class="text-2xl font-bold text-center">{$_("total-distance")}</h1>
<h1 class="text-6xl font-bold text-center">
{lastscan_totaldistance}