Skip to content

Commit

Permalink
underline sms <a>
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Sep 4, 2023
1 parent 428b1b1 commit 7903c1f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/routes/dashboard/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@
<p>Contacts to set up a play date:</p>
<ul>
{#each households[overlap.householdId].parents as contact}
<li>{contact.name} - <a href="sms:{contact.phone}">{contact.phone}</a></li>
<li>
{contact.name} - <a class="phone-num" href="sms:{contact.phone}">{contact.phone}</a>
</li>
{/each}
</ul>
</div>
Expand Down Expand Up @@ -163,7 +165,9 @@
>{households[householdId].name} ({households[householdId].kids.join(', ')})</a
>
{#each households[householdId].parents as contact}
<p class="parent">{contact.name} - <a href="sms:{contact.phone}">{contact.phone}</a></p>
<p class="parent">
{contact.name} - <a class="phone-num" href="sms:{contact.phone}">{contact.phone}</a>
</p>
{/each}

{#if !scheds.length}
Expand Down Expand Up @@ -254,6 +258,10 @@
color: #001430;
font-size: large;
}
.phone-num {
text-decoration: underline;
color: #001430;
}
.parent {
font-size: large;
margin: 0.4rem 0;
Expand Down

0 comments on commit 7903c1f

Please sign in to comment.