Update: Improves display of send options

This commit is contained in:
Sam Cheng Hung 2018-04-10 19:00:44 +08:00
commit e248ac28de
3 changed files with 37 additions and 1 deletions

View file

@ -347,6 +347,24 @@
.send-amount-actions {
margin-top: 15px;
display: flex;
align-items: center;
justify-content: center;
.button {
flex: 1 1 auto;
line-height: 1.2em;
+ .button {
margin-left: 10px;
}
span {
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
}

View file

@ -10492,7 +10492,19 @@ textarea.d-block {
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-tool-input .switch-currencies img {
width: 18px; }
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions {
margin-top: 15px; }
margin-top: 15px;
display: flex;
align-items: center;
justify-content: center; }
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions .button {
flex: 1 1 auto;
line-height: 1.2em; }
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions .button + .button {
margin-left: 10px; }
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions .button span {
display: flex;
align-items: center;
justify-content: center; }
#view-amount .scroll-content .button.no-margin {
margin: 0; }
#view-amount .scroll-content .notification-warning {

View file

@ -86,6 +86,12 @@
<span translate>Send max amount</span>
</span>
</button>
<button class="button button-sendmax" modal-select ng-model="someModel" options="selectables" modal-title="Select a number">
<span>
<i class="icon ion-social-usd"></i>&emsp;
<span translate>Change currency</span>
</span>
</button>
</div>
</div>
</div>