mirror of https://github.com/BTCPrivate/copay.git
keep card header background color uniform even user scrolls
This commit is contained in:
parent
92c8e25dc1
commit
27f44220a1
|
@ -10,6 +10,20 @@
|
||||||
background-color: transparent;
|
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 {
|
.amount {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
Sandbox version. Only for testing purpose
|
Sandbox version. Only for testing purpose
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="oh pr" ng-show="!error">
|
<div class="amount-wrapper" ng-show="!error">
|
||||||
<div class="amount">
|
<div class="amount">
|
||||||
<div ng-if="bitpayCard.bitpayCardCurrentBalance" ng-click="bitpayCard.update()">
|
<div ng-if="bitpayCard.bitpayCardCurrentBalance" ng-click="bitpayCard.update()">
|
||||||
<div class="amount__balance">${{bitpayCard.bitpayCardCurrentBalance}}</div>
|
<div class="amount__balance">${{bitpayCard.bitpayCardCurrentBalance}}</div>
|
||||||
|
|
Loading…
Reference in New Issue