File tree Expand file tree Collapse file tree 1 file changed +26
-25
lines changed
libs/remix-ui/run-tab/src/lib/components Expand file tree Collapse file tree 1 file changed +26
-25
lines changed Original file line number Diff line number Diff line change @@ -49,44 +49,45 @@ export function ValueUI(props: ValueProps) {
49
49
< label className = "udapp_settingsLabel" data-id = "remixDRValueLabel" >
50
50
< FormattedMessage id = "udapp.value" />
51
51
</ label >
52
- < div className = "udapp_gasValueContainer" >
52
+ < div className = "input-group udapp_gasValueContainer" >
53
53
< CustomTooltip placement = { 'top-start' } tooltipClasses = "text-nowrap" tooltipId = "remixValueTooltip" tooltipText = { < FormattedMessage id = "udapp.tooltipText5" /> } >
54
54
< input
55
55
ref = { inputValue }
56
56
type = "number"
57
57
min = "0"
58
58
pattern = "^[0-9]"
59
59
step = "1"
60
- className = "form-control udapp_gasNval udapp_col2 "
60
+ className = "form-control"
61
61
id = "value"
62
62
data-id = "dandrValue"
63
63
onChange = { validateValue }
64
64
value = { props . sendValue }
65
65
/>
66
66
</ CustomTooltip >
67
-
68
- < select
69
- name = "unit"
70
- value = { props . sendUnit }
71
- className = "form-control p-1 udapp_gasNvalUnit udapp_col2_2 custom-select"
72
- id = "unit"
73
- onChange = { ( e ) => {
74
- props . setUnit ( e . target . value as 'ether' | 'finney' | 'gwei' | 'wei' )
75
- } }
76
- >
77
- < option data-unit = "wei" value = "wei" >
78
- Wei
79
- </ option >
80
- < option data-unit = "gwei" value = "gwei" >
81
- Gwei
82
- </ option >
83
- < option data-unit = "finney" value = "finney" >
84
- Finney
85
- </ option >
86
- < option data-unit = "ether" value = "ether" >
87
- Ether
88
- </ option >
89
- </ select >
67
+ < div className = "input-group-append" >
68
+ < select
69
+ name = "unit"
70
+ value = { props . sendUnit }
71
+ className = "custom-select"
72
+ id = "unit"
73
+ onChange = { ( e ) => {
74
+ props . setUnit ( e . target . value as 'ether' | 'finney' | 'gwei' | 'wei' )
75
+ } }
76
+ >
77
+ < option data-unit = "wei" value = "wei" >
78
+ Wei
79
+ </ option >
80
+ < option data-unit = "gwei" value = "gwei" >
81
+ Gwei
82
+ </ option >
83
+ < option data-unit = "finney" value = "finney" >
84
+ Finney
85
+ </ option >
86
+ < option data-unit = "ether" value = "ether" >
87
+ Ether
88
+ </ option >
89
+ </ select >
90
+ </ div >
90
91
</ div >
91
92
</ div >
92
93
)
You can’t perform that action at this time.
0 commit comments