Adjust Link & Script button margins and fix layout of NearToMeCard to allow for it.
This commit is contained in:
parent
3d40445728
commit
2a07b0fa3e
@ -11,9 +11,7 @@
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin: auto;
|
margin: 5px;
|
||||||
margin-top: 5px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
background-color: var(--island-button-color);
|
background-color: var(--island-button-color);
|
||||||
font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
|
font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
|
||||||
padding: 5px 25px;
|
padding: 5px 25px;
|
||||||
|
@ -11,14 +11,12 @@
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin: auto;
|
margin: 5px;
|
||||||
font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
|
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);
|
background-color: var(--island-button-color);
|
||||||
padding: 20px 20px;
|
padding: 20px;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
height: 22px;
|
height: 25px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
box-shadow: var(--box-shadow);
|
box-shadow: var(--box-shadow);
|
||||||
|
@ -66,7 +66,9 @@
|
|||||||
<Card {config}>
|
<Card {config}>
|
||||||
{#if blockLoading}
|
{#if blockLoading}
|
||||||
<InLineLoading />
|
<InLineLoading />
|
||||||
{:else if !$uuid || $uuid === "null"}
|
{:else}
|
||||||
|
<div id="buttons">
|
||||||
|
{#if !$uuid || $uuid === "null"}
|
||||||
<LinkButton text="Register to use this feature" link="/more/reg" />
|
<LinkButton text="Register to use this feature" link="/more/reg" />
|
||||||
{:else if $location}
|
{:else if $location}
|
||||||
{#if !stations.length}
|
{#if !stations.length}
|
||||||
@ -76,15 +78,15 @@
|
|||||||
<InLineLoading />
|
<InLineLoading />
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div id="buttons">
|
|
||||||
{#each stations as station}
|
{#each stations as station}
|
||||||
<LinkButton text={`${station.NLCDESC} - ${station.miles}mi`} link={`/ldb?station=${station["3ALPHA"]}`} />
|
<LinkButton text={`${station.NLCDESC} - ${station.miles}mi`} link={`/ldb?station=${station["3ALPHA"]}`} />
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<ScriptButton text={"Turn on Location"} fn={turnOnLocation} />
|
<ScriptButton text={"Turn on Location"} fn={turnOnLocation} />
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user