From f129c6fe259ce534b7dba5d79427d90120da7161 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Thu, 3 Dec 2020 20:15:02 +0300 Subject: [PATCH] Fix left margin of balance card in mobile view --- CHANGELOG.md | 1 + apps/block_scout_web/assets/css/components/_card.scss | 9 --------- .../templates/transaction/overview.html.eex | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98e11afd5e..3ba69a91ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#3462](https://github.com/poanetwork/blockscout/pull/3462) - Display price for bridged tokens ### Fixes +- [#3507](https://github.com/poanetwork/blockscout/pull/3507) - Fix left margin of balance card in mobile view - [#3506](https://github.com/poanetwork/blockscout/pull/3506) - Fix token trasfer's tile styles: prevent overlapping of long names - [#3505](https://github.com/poanetwork/blockscout/pull/3505) - Fix Staking DApp first loading - [#3433](https://github.com/poanetwork/blockscout/pull/3433) - Token balances and rewards tables deadlocks elimination diff --git a/apps/block_scout_web/assets/css/components/_card.scss b/apps/block_scout_web/assets/css/components/_card.scss index b8212c68e0..71e0b941bc 100644 --- a/apps/block_scout_web/assets/css/components/_card.scss +++ b/apps/block_scout_web/assets/css/components/_card.scss @@ -34,9 +34,6 @@ $card-tab-icon-color-active: #fff !default; .card-background-1 { background-color: $card-background-1; color: $card-background-1-text-color; - @include media-breakpoint-down(sm) { - margin-left: 15px; - } a:not(.dropdown-item), a:not(.dropdown-item):hover { color: $card-background-1-text-color; @@ -267,12 +264,6 @@ $card-tab-icon-color-active: #fff !default; } } -.mob-transaction { - @include media-breakpoint-down(sm) { - margin-left: 15px!important; - } -} - .implementation-container { margin-top: 10px; } 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 d06c85628f..5983edd091 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 @@ -271,7 +271,7 @@ <% end %> -
+

<%= gettext "Gas" %>