fixes crop icons

This commit is contained in:
Christian Beutel
2025-07-19 20:02:47 +02:00
parent ef1571c54e
commit 731a4ffb97
2 changed files with 6 additions and 13 deletions

View File

@@ -386,24 +386,17 @@
onCropToggle(false); onCropToggle(false);
}}>{$_("crop")}</button }}>{$_("crop")}</button
> >
<button
class="btn-secondary"
onclick={() => {
crop = false;
onCropToggle(false);
}}>{$_("cancel")}</button
>
</div> </div>
{/if} {/if}
{#if recalculateElevationData} {#if recalculateElevationData}
<div class="p-4 my-2 rounded-xl bg-background shadow-xl"> <div
class="p-4 my-2 rounded-xl bg-background shadow-xl flex flex-col max-w-70"
>
<Button secondary onclick={onRecalculateElevationData} <Button secondary onclick={onRecalculateElevationData}
>{$_("recalculate-elevation-data")}</Button >{$_("recalculate-elevation-data")}</Button
> >
<p <p class="bg-background/50 rounded-xl text-sm text-gray-500 mt-3">
class="bg-background/50 rounded-xl text-sm text-gray-500 mt-2 max-w-72"
>
{$_("recalculating-elevation-data-hint")} {$_("recalculating-elevation-data-hint")}
</p> </p>
</div> </div>

View File

@@ -424,7 +424,7 @@
id: "crop-start-marker", id: "crop-start-marker",
icon: "fa-regular fa-circle", icon: "fa-regular fa-circle",
fontSize: "xs", fontSize: "xs",
style: "z-10", style: "z-10 w-6",
width: 4, width: 4,
backgroundColor: "bg-primary", backgroundColor: "bg-primary",
fontColor: "white", fontColor: "white",
@@ -436,7 +436,7 @@
id: "crop-end-marker", id: "crop-end-marker",
icon: "fa fa-flag-checkered", icon: "fa fa-flag-checkered",
fontSize: "xs", fontSize: "xs",
style: "z-10", style: "z-10 w-6",
width: 4, width: 4,
backgroundColor: "bg-primary", backgroundColor: "bg-primary",
fontColor: "white", fontColor: "white",