Skip to content

Commit

Permalink
update design
Browse files Browse the repository at this point in the history
  • Loading branch information
deuch13 committed Jun 18, 2024
1 parent 11a539d commit 81cff1c
Show file tree
Hide file tree
Showing 10 changed files with 172 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,13 +797,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -986,13 +987,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1175,13 +1177,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1364,13 +1367,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1553,13 +1557,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1742,13 +1747,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1931,13 +1937,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2120,13 +2127,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2309,13 +2317,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2498,13 +2507,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0
DUSK
</dd>
<dt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,14 @@ exports[`Blocks List > renders the Blocks List component 1`] = `
</svg>
average fee paid (dusk)
average fee paid
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000000001
DUSK
</dd>
<dt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,13 +1005,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000215552
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1219,13 +1220,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000215617
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1433,13 +1435,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000214413
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1647,13 +1650,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000291769
DUSK
</dd>
<dt
Expand Down Expand Up @@ -1861,13 +1865,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000290764
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2075,13 +2080,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000291961
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2289,13 +2295,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000292039
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2503,13 +2510,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000290406
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2717,13 +2725,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000291537
DUSK
</dd>
<dt
Expand Down Expand Up @@ -2931,13 +2940,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000291361
DUSK
</dd>
<dt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,14 @@ exports[`Transactions List > renders the Transactions List component 1`] = `
</svg>
Fee (DUSK)
Fee
</dt>
<dd
class="details-list__definition details-list__definition--table"
>
0.000290766
DUSK
</dd>
<dt
Expand Down
4 changes: 2 additions & 2 deletions explorer/src/lib/components/blocks-list/BlocksList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
<ListItem
tooltipText="The average fee paid for the transactions within the block"
>
<svelte:fragment slot="term">average fee paid (dusk)</svelte:fragment>
<svelte:fragment slot="term">average fee paid</svelte:fragment>
<svelte:fragment slot="definition">
{formatter(luxToDusk(data.transactions.stats.averageGasPrice))}
{formatter(luxToDusk(data.transactions.stats.averageGasPrice))} DUSK
</svelte:fragment>
</ListItem>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@

<!-- TX FEE -->
<ListItem tooltipText="The transaction fee amount">
<svelte:fragment slot="term">Fee (DUSK)</svelte:fragment>
<svelte:fragment slot="term">Fee</svelte:fragment>
<svelte:fragment slot="definition">
{formatter(luxToDusk(data.feepaid))}
{formatter(luxToDusk(data.feepaid))} DUSK
</svelte:fragment>
</ListItem>

Expand Down
Loading

0 comments on commit 81cff1c

Please sign in to comment.