keep card header background color uniform even user scrolls

This commit is contained in:
Marty Alcala 2016-11-04 15:42:34 -04:00
parent 92c8e25dc1
commit 27f44220a1
2 changed files with 15 additions and 1 deletions

View File

@ -10,6 +10,20 @@
background-color: transparent;
}
}
.amount-wrapper {
position: relative;
overflow: visible;
&:before {
content: '';
top: -1000px;
left: 0;
position: absolute;
height: 1000px;
width: 100%;
background-color: #1e3186;
}
}
.amount {
width: 100%;
text-align: center;

View File

@ -16,7 +16,7 @@
Sandbox version. Only for testing purpose
</div>
<div class="oh pr" ng-show="!error">
<div class="amount-wrapper" ng-show="!error">
<div class="amount">
<div ng-if="bitpayCard.bitpayCardCurrentBalance" ng-click="bitpayCard.update()">
<div class="amount__balance">${{bitpayCard.bitpayCardCurrentBalance}}</div>