Adds/Fixes smooth scroll on modals
This commit is contained in:
parent
629bbe307b
commit
c425eb31c2
7 changed files with 9 additions and 8 deletions
|
|
@ -12,7 +12,7 @@
|
|||
</section>
|
||||
</nav>
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="modal-content fix-modals-touch">
|
||||
<ul class="no-bullet">
|
||||
<li class="line-b p10" ng-repeat="copayer in copayers">
|
||||
<span class="size-12" ng-show="copayer.id == copayerId">
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</section>
|
||||
</nav>
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="modal-content fix-modals-touch">
|
||||
<div class="m20b" ng-show="customizedAmountBtc">
|
||||
<h4 class="title m0" translate>QR Code</h4>
|
||||
<ul class="no-bullet size-14 m0">
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</section>
|
||||
</nav>
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="modal-content fix-modals-touch">
|
||||
<div class="header-modal text-center">
|
||||
<div class="size-42">
|
||||
{{unitTotal}} {{unitName}}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</h1>
|
||||
</section>
|
||||
</nav>
|
||||
<div class="modal-content text-center" ng-init="init()">
|
||||
<div class="modal-content text-center fix-modals-touch" ng-init="init()">
|
||||
<canvas id="qr-canvas" width="200" height="150"></canvas>
|
||||
<video id="qrcode-scanner-video" width="300" height="225"></video>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
</section>
|
||||
</nav>
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="modal-content fix-modals-touch">
|
||||
<div class="header-modal text-center">
|
||||
<div class="size-42">
|
||||
<span ng-if="btx.action == 'received'">+</span><span ng-if="btx.action == 'sent'">-</span>{{btx.amountStr}} {{settings.unitName}}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</h1>
|
||||
</section>
|
||||
</nav>
|
||||
<div class="modal-content" ng-init="updateCopayerList()">
|
||||
<div class="modal-content fix-modals-touch" ng-init="updateCopayerList()">
|
||||
<h4 class="title m0" translate>Details</h4>
|
||||
<ul class="no-bullet size-14 m0">
|
||||
<li class="line-b p10 oh" ng-click="copyAddress(tx.toAddress)">
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ body {
|
|||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-touch-callout: none !important;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
@ -28,8 +29,8 @@ input {
|
|||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.touch {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
.fix-modals-touch {
|
||||
-webkit-overflow-scrolling: auto;
|
||||
}
|
||||
|
||||
.enable_text_select {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue