diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex index d388a7fe95..26d7f2d316 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex @@ -69,8 +69,8 @@ @view_module == Elixir.BlockScoutWeb.TransactionTokenTransferView ) -> %> <% true -> %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index b865865285..23fbc059d0 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -14,7 +14,7 @@ document.documentElement.className += " " + "dark-forest-theme-applied"; return; } - document.getElementsByTagName("body")[0].style.visibility = "visible"; + document.getElementsByClassName("layout-container")[0].style.visibility = "visible"; }) } window.onload = applyCustomMode()