mirror of https://github.com/BTCPrivate/copay.git
fix click to pay button clickable area
This commit is contained in:
parent
de248d5639
commit
b860fb269b
|
@ -1,6 +1,11 @@
|
|||
click-to-accept {
|
||||
|
||||
.click-to-accept {
|
||||
|
||||
&__button.disable {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&__status-text {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -11,6 +16,7 @@ click-to-accept {
|
|||
text-transform: capitalize;
|
||||
transform: translateY(2rem);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
&.enter {
|
||||
transition: transform 250ms ease, opacity 250ms ease;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<button class="button button-standard button-primary" ng-disabled="sendStatus">
|
||||
<button class="click-to-accept__button button button-standard button-primary" ng-class="{disable: sendStatus}">
|
||||
<span ng-if="!sendStatus">
|
||||
<ng-transclude></ng-transclude>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue