Adds/Fixes smooth scroll on modals

This commit is contained in:
Gustavo Maximiliano Cortez 2015-06-26 17:31:50 -03:00
commit c425eb31c2
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
7 changed files with 9 additions and 8 deletions

View file

@ -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">

View file

@ -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">

View file

@ -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}}

View file

@ -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>

View file

@ -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}}

View file

@ -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)">

View file

@ -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 {