ensure header background is pullable when collapsing is disabled
This commit is contained in:
parent
d3d15ea887
commit
26814461f1
2 changed files with 19 additions and 4 deletions
|
|
@ -141,12 +141,22 @@
|
|||
|
||||
.amount-bg {
|
||||
content: '';
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
transform: translateY(100px);
|
||||
height: 500px;
|
||||
transform: translateY(-499px);
|
||||
|
||||
&.collapsible {
|
||||
top: initial;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
transform: translateY(100px);
|
||||
}
|
||||
}
|
||||
}
|
||||
.amount {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<div
|
||||
class="amount-bg"
|
||||
ng-style="{'background-color':wallet.color}"
|
||||
ng-class="{collapsible: amountIsCollapsible}"
|
||||
></div>
|
||||
<div
|
||||
ng-style="{'background-color':wallet.color, 'height': amountHeight}"
|
||||
|
|
@ -88,7 +89,11 @@
|
|||
on-refresh="onRefresh()">
|
||||
</ion-refresher>
|
||||
|
||||
<div class="oh pr" ng-show="wallet && wallet.isComplete() && !amountIsCollapsible">
|
||||
<div class="amount-wrapper" ng-show="wallet && wallet.isComplete() && !amountIsCollapsible">
|
||||
<div
|
||||
class="amount-bg"
|
||||
ng-style="{'background-color':wallet.color}"
|
||||
></div>
|
||||
<div
|
||||
ng-style="{'background-color':wallet.color}"
|
||||
class="amount"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue