Skip to content

Commit

Permalink
chore: fix spacing for abbr
Browse files Browse the repository at this point in the history
  • Loading branch information
trovster committed Oct 3, 2023
1 parent cdcf935 commit 93eb172
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ This website is built using [Eleventy](https://www.11ty.dev).
There are two main web components; a ring and a fully featured card.

```html
<fitness-ring data="{ move, exercise, stand }">
<fitness-ring>
</fitness-ring>

<fitness-card data="{ ...json }">
<fitness-card>
</fitness-card>
```

Expand Down
12 changes: 6 additions & 6 deletions src/components/details.njk
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<dl class="relative text-2xl leading-tight space-y-4">
<div>
<dt>Move</dt>
<dd class="text-move ">{{ move.total | formattedNumber }}/{{ move.goal | formattedNumber }}
<abbr title="Kilocalories" class="uppercase text-base ml-1 no-underline">Kcal</abbr>
<dd class="text-move ">
{{ move.total | formattedNumber }}/{{ move.goal | formattedNumber }}<abbr title="Kilocalories" class="uppercase text-base ml-1 no-underline">Kcal</abbr>
</dd>
</div>

<div>
<dt>Exercise</dt>
<dd class="text-exercise">{{ exercise.total | formattedNumber }}/{{ exercise.goal | formattedNumber }}
<abbr title="Minutes" class="uppercase text-base ml-1 no-underline">min</abbr>
<dd class="text-exercise">
{{ exercise.total | formattedNumber }}/{{ exercise.goal | formattedNumber }}<abbr title="Minutes" class="uppercase text-base ml-1 no-underline">min</abbr>
</dd>
</div>

<div>
<dt>Stand</dt>
<dd class="text-stand">{{ stand.total | formattedNumber }}/{{ stand.goal | formattedNumber }}
<abbr title="Hours" class="uppercase text-base ml-1 no-underline">hrs</abbr>
<dd class="text-stand">
{{ stand.total | formattedNumber }}/{{ stand.goal | formattedNumber }}<abbr title="Hours" class="uppercase text-base ml-1 no-underline">hrs</abbr>
</dd>
</div>
</dl>

0 comments on commit 93eb172

Please sign in to comment.