Scroll large amounts in the send component

feature/default_network_editable
Whymarrh Whitby 7 years ago
parent 1f6f4977de
commit 3123073659
  1. 2
      ui/app/components/send/currency-display.js
  2. 6
      ui/app/css/itcss/components/currency-display.scss

@ -149,7 +149,7 @@ CurrencyDisplay.prototype.render = function () {
} : {}),
ref: input => { this.currencyInput = input },
style: {
width: this.getInputWidth(valueToRender, readOnly),
minWidth: this.getInputWidth(valueToRender, readOnly),
},
min: 0,
}),

@ -1,6 +1,5 @@
.currency-display {
height: 54px;
width: 100%ß;
border: 1px solid $alto;
border-radius: 4px;
background-color: $white;
@ -21,7 +20,7 @@
line-height: 22px;
border: none;
outline: 0 !important;
max-width: 100%;
max-width: 22ch;
}
&__primary-currency {
@ -47,6 +46,9 @@
&__input-wrapper {
position: relative;
display: flex;
flex: 1;
max-width: 100%;
overflow-x: scroll;
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;

Loading…
Cancel
Save