Skip to content

Commit

Permalink
feat: Put distance first and large
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarKlintrot committed Jul 24, 2024
1 parent 659128c commit 65a9066
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<h1>MyThrow.xyz</h1>
</header>
<main>
<p id="status"></p>
<p>Distance: <span id="distance"></span></p>
<p>Distance: <span id="distance"></span></p>
<p><small id="status"></small></p>
<div id="throws-statistics"></div>
</main>
<footer>
Expand All @@ -67,7 +67,7 @@ <h1>MyThrow.xyz</h1>

<style type="text/css">
body {
font-size: 1.4em;
font-size: 1.5em;
margin: 0; /* prevents scrollbars */
}

Expand Down Expand Up @@ -287,7 +287,7 @@ <h1>MyThrow.xyz</h1>
!state.current.latitude ||
!state.current.longitude
) {
distance.textContent = "";
distance.textContent = "";
return;
}
const diff = getDistanceBetween(
Expand Down

0 comments on commit 65a9066

Please sign in to comment.