fix ui for chart loading

pull/2876/head
Max Alekseenko 5 years ago
parent 896dc1ec69
commit 712428f77f
  1. 1
      apps/block_scout_web/assets/css/components/_dashboard-banner.scss
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex

@ -56,6 +56,7 @@ $dashboard-banner-chart-axis-font-color: $dashboard-stats-item-value-color !defa
margin: 0 0 35px 0;
max-width: 350px;
position: relative;
min-height: 100px;
@include media-breakpoint-down(md) {
flex-grow: 0;

@ -5,7 +5,7 @@
<div class="dashboard-banner-network-graph">
<!-- Graph -->
<div class="dashboard-banner-chart">
<div hidden data-chart-loading-message class="tile tile-muted text-center mt-5">
<div data-chart-loading-message class="tile tile-muted text-center mt-5">
<span class="loading-spinner-small mr-2">
<span class="loading-spinner-block-1"></span>
<span class="loading-spinner-block-2"></span>

Loading…
Cancel
Save