aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/hex-as-decimal-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/hex-as-decimal-input.js')
-rw-r--r--ui/app/components/hex-as-decimal-input.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/hex-as-decimal-input.js b/ui/app/components/hex-as-decimal-input.js
index 4d3105b8d..34f628f7f 100644
--- a/ui/app/components/hex-as-decimal-input.js
+++ b/ui/app/components/hex-as-decimal-input.js
@@ -27,6 +27,10 @@ HexAsDecimalInput.prototype.render = function () {
return (
h('input', {
+ style: {
+ display: 'block',
+ textAlign: 'right',
+ },
value: decimalValue,
onChange: (event) => {
const hexString = hexify(event.target.value)
@@ -46,4 +50,3 @@ function decimalize (input) {
const inputBN = new BN(strippedInput, 'hex')
return inputBN.toString(10)
}
-