mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Scroll large amounts in the send component
This commit is contained in:
parent
1f6f4977de
commit
3123073659
@ -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…
Reference in New Issue
Block a user