1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 02:42:17 -05:00

Merge pull request #171 from whiteout-io/dev/WO-704

Refactor .write__submit to use .lightbox__controls
This commit is contained in:
Tankred Hase 2014-11-12 18:09:24 +01:00
commit f8038ea735
2 changed files with 5 additions and 9 deletions

View File

@ -57,6 +57,7 @@
width: 100%;
border: none;
outline: none;
resize: none;
color: $color-grey-dark;
line-height: 1.5em;
overflow-y: auto;
@ -65,9 +66,4 @@
// put layer on GPU
transform: translatez(0);
}
&__submit {
position: absolute;
bottom: 0;
right: 0;
}
}

View File

@ -66,9 +66,9 @@
<textarea class="write__body" ng-model="body" spellcheck="true" wo-focus-me="state.lightbox === 'write' && writerTitle === 'Reply'" tabindex="3"></textarea>
<div class="write__submit">
<button wo-touch="sendToOutbox()" class="btn" ng-class="{'btn--invalid': sendBtnSecure === false}" ng-disabled="!okToSend" tabindex="4">{{sendBtnText || 'Send'}}</button>
</div>
</div>
<footer class="lightbox__controls">
<button wo-touch="sendToOutbox()" class="btn" ng-class="{'btn--invalid': sendBtnSecure === false}"
ng-disabled="!okToSend" tabindex="4">{{sendBtnText || 'Send'}}</button>
</footer>
</div>