fix click to pay button clickable area

This commit is contained in:
Marty Alcala 2016-10-21 12:40:46 -04:00
parent de248d5639
commit b860fb269b
2 changed files with 7 additions and 1 deletions

View File

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

View File

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