diff --git a/src/lib/buttons/LinkButton.svelte b/src/lib/buttons/LinkButton.svelte index 49d5597..c927e90 100644 --- a/src/lib/buttons/LinkButton.svelte +++ b/src/lib/buttons/LinkButton.svelte @@ -11,9 +11,7 @@ border: none; border-radius: 20px; text-decoration: none; - margin: auto; - margin-top: 5px; - margin-bottom: 5px; + margin: 5px; background-color: var(--island-button-color); font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; padding: 5px 25px; diff --git a/src/lib/buttons/ScriptButton.svelte b/src/lib/buttons/ScriptButton.svelte index 734bff5..1bfa9d3 100644 --- a/src/lib/buttons/ScriptButton.svelte +++ b/src/lib/buttons/ScriptButton.svelte @@ -11,14 +11,12 @@ border: none; border-radius: 20px; text-decoration: none; - margin: auto; + margin: 5px; font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; - margin-top: 10px; - margin-bottom: 10px; background-color: var(--island-button-color); - padding: 20px 20px; + padding: 20px; min-width: 40px; - height: 22px; + height: 25px; font-size: 16px; font-weight: 400; box-shadow: var(--box-shadow); diff --git a/src/lib/cards/NearToMeCard.svelte b/src/lib/cards/NearToMeCard.svelte index a69dc1f..8db6be1 100644 --- a/src/lib/cards/NearToMeCard.svelte +++ b/src/lib/cards/NearToMeCard.svelte @@ -66,7 +66,9 @@ {#if blockLoading} - {:else if !$uuid || $uuid === "null"} + {:else} +
+ {#if !$uuid || $uuid === "null"} {:else if $location} {#if !stations.length} @@ -76,15 +78,15 @@ {/if} {:else} -
- {#each stations as station} - - {/each} -
+ {#each stations as station} + + {/each} {/if} {:else} {/if} +
+ {/if}