diff --git a/apps/block_scout_web/assets/css/components/_card.scss b/apps/block_scout_web/assets/css/components/_card.scss index 37cbaf973d..8fff120deb 100644 --- a/apps/block_scout_web/assets/css/components/_card.scss +++ b/apps/block_scout_web/assets/css/components/_card.scss @@ -155,8 +155,8 @@ $card-tab-icon-color-active: #fff !default; } .card-chain-blocks { - height: 233px; - + min-height: 233px; + max-height: auto; [class*="col-"]:last-child { .tile { margin-bottom: 0; @@ -165,7 +165,8 @@ $card-tab-icon-color-active: #fff !default; } .card-chain-transactions { - height: 664px; + min-height: 664px; + max-height: auto; .tile { margin-bottom: 0; diff --git a/apps/block_scout_web/assets/css/components/_tile.scss b/apps/block_scout_web/assets/css/components/_tile.scss index e621e4fd6d..79441d0722 100644 --- a/apps/block_scout_web/assets/css/components/_tile.scss +++ b/apps/block_scout_web/assets/css/components/_tile.scss @@ -562,3 +562,15 @@ $cube-quantity: 5; transform: scale(0); } } + +.dark-block-loader { + width: auto; + height: 15px; + background-color: #e2e5ec; + margin-bottom: 5px; + border-radius: 4px; +} + +.dark-theme-applied .dark-block-loader { + background-color: #313355; +} diff --git a/apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex index 8285d429e0..cb42c2c338 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex @@ -91,13 +91,50 @@ <%= gettext "Something went wrong, click to reload." %> -