Merge pull request #3507 from poanetwork/vb-fix-mobile-view-balance-card-left-marin

Fix left margin of balance card in mobile view
pull/3509/head
Victor Baranov 4 years ago committed by GitHub
commit ad2a5ea174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 9
      apps/block_scout_web/assets/css/components/_card.scss
  3. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex

@ -6,6 +6,7 @@
- [#3462](https://github.com/poanetwork/blockscout/pull/3462) - Display price for bridged tokens - [#3462](https://github.com/poanetwork/blockscout/pull/3462) - Display price for bridged tokens
### Fixes ### 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 - [#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 - [#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 - [#3433](https://github.com/poanetwork/blockscout/pull/3433) - Token balances and rewards tables deadlocks elimination

@ -34,9 +34,6 @@ $card-tab-icon-color-active: #fff !default;
.card-background-1 { .card-background-1 {
background-color: $card-background-1; background-color: $card-background-1;
color: $card-background-1-text-color; color: $card-background-1-text-color;
@include media-breakpoint-down(sm) {
margin-left: 15px;
}
a:not(.dropdown-item), a:not(.dropdown-item),
a:not(.dropdown-item):hover { a:not(.dropdown-item):hover {
color: $card-background-1-text-color; 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 { .implementation-container {
margin-top: 10px; margin-top: 10px;
} }

@ -271,7 +271,7 @@
</div> </div>
<% end %> <% end %>
<!-- Gas --> <!-- Gas -->
<div class="card flex-grow-1 ml-0 ml-md-5 ml-lg-0 mob-transaction"> <div class="card flex-grow-1 ml-0 ml-md-5 ml-lg-0">
<div class="card-body card-body-flex-column-space-between"> <div class="card-body card-body-flex-column-space-between">
<h2 class="card-title balance-card-title"> <%= gettext "Gas" %> </h2> <h2 class="card-title balance-card-title"> <%= gettext "Gas" %> </h2>
<div class="text-right"> <div class="text-right">

Loading…
Cancel
Save