Fixed the margins on the data chart on the homepg

pull/199/head
katibest 7 years ago
parent f05e4f0df2
commit 18da7bf04a
  1. 3
      apps/explorer_web/assets/css/_content.scss
  2. 2
      apps/explorer_web/lib/explorer_web/templates/chain/show.html.eex

@ -52,7 +52,10 @@
&__subsection { &__subsection {
flex: 1; flex: 1;
&-chain {
margin: 10px 5px; margin: 10px 5px;
} }
} }
}
} }

@ -22,7 +22,7 @@
<div> <%= @chain.transaction_velocity |> Cldr.Number.to_string! %></div> <div> <%= @chain.transaction_velocity |> Cldr.Number.to_string! %></div>
</div> </div>
</div> </div>
<div class="chain container__subsection"> <div class="chain container__subsection container__subsection-chain">
<canvas data-chart="marketHistoryChart" data-current_exchange_rate ='<%= @exchange_rate.usd_value %>' data-available_supply='<%= @exchange_rate.available_supply %>' data-market_history_data='<%=raw encode_market_history_data(@market_history_data) %>' width="300" height="100"></canvas> <canvas data-chart="marketHistoryChart" data-current_exchange_rate ='<%= @exchange_rate.usd_value %>' data-available_supply='<%= @exchange_rate.available_supply %>' data-market_history_data='<%=raw encode_market_history_data(@market_history_data) %>' width="300" height="100"></canvas>
<div class="graph-flex"> <div class="graph-flex">
<div class="u-push-md-left"> <div class="u-push-md-left">

Loading…
Cancel
Save