updated currency toggle css
This commit is contained in:
parent
3ed4acf43c
commit
12cde9e670
2 changed files with 14 additions and 2 deletions
|
|
@ -189,6 +189,18 @@
|
|||
height: 30px;
|
||||
}
|
||||
}
|
||||
&__currency-toggle-mobile {
|
||||
border: 1px solid $v-subtle-gray;
|
||||
color: $v-dark-gray;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
@media(max-width: 320px) {
|
||||
line-height: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
&__results {
|
||||
&--minimize {
|
||||
font-size: 12px;
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@
|
|||
</div>
|
||||
<div class="amount">
|
||||
<span>
|
||||
<input type="number" ng-model="amountModel.amount" ng-change="processAmount()" placeholder="Enter amount">
|
||||
<a class="amount__currency-toggle" ng-click="changeUnit()">{{unit}}</a>
|
||||
<input type="number" ng-model="amountModel.amount" ng-change="processAmount()" placeholder="Enter amount" focus-me>
|
||||
<a class="amount__currency-toggle-mobile" ng-click="changeUnit()">{{unit}}</a>
|
||||
</span>
|
||||
<span ng-show="globalResult">{{globalResult}} {{unit}}</span>
|
||||
<span>≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue