From fd83e040382cd3fcaa52bc449d70f78546c487a1 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Mon, 2 Sep 2019 18:04:04 +0300 Subject: [PATCH] Additional cleanup --- apps/block_scout_web/assets/css/components/_card.scss | 2 +- .../lib/block_scout_web/templates/block/overview.html.eex | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/block_scout_web/assets/css/components/_card.scss b/apps/block_scout_web/assets/css/components/_card.scss index 0e5fa8cb2a..0737e1b355 100644 --- a/apps/block_scout_web/assets/css/components/_card.scss +++ b/apps/block_scout_web/assets/css/components/_card.scss @@ -247,4 +247,4 @@ $card-tab-icon-color-active: #fff !default; } } } -} \ No newline at end of file +} diff --git a/apps/block_scout_web/lib/block_scout_web/templates/block/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/block/overview.html.eex index a621a00c03..752fd314e3 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/block/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/block/overview.html.eex @@ -34,7 +34,7 @@
-
<%= gettext "Hash" %>
+
<%= gettext "Hash" %>
<%= to_string(@block.hash) %>
@@ -57,7 +57,7 @@
<%= gettext "Difficulty" %>
-
+
<%= @block.difficulty |> BlockScoutWeb.Cldr.Number.to_string! %>
@@ -146,7 +146,7 @@

<%= gettext "Block Rewards" %>

<%= for block_reward <- @block.rewards do %> -

<%= block_reward_text(block_reward) %> <%= format_wei_value(block_reward.reward, :ether) %>

+

<%= block_reward_text(block_reward) %> <%= format_wei_value(block_reward.reward, :ether) %>

<% end %>
<% else %> @@ -157,7 +157,6 @@ (<%= (Decimal.to_integer(@block.gas_used) / Decimal.to_integer(@block.gas_limit)) |> BlockScoutWeb.Cldr.Number.to_string!(format: "#.#%") %>)

<%= @block.gas_limit |> BlockScoutWeb.Cldr.Number.to_string! %><%= gettext "Gas Limit" %>

- <% end %>