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) {
4949 < label className = "udapp_settingsLabel" data-id = "remixDRValueLabel" >
5050 < FormattedMessage id = "udapp.value" />
5151 </ label >
52- < div className = "udapp_gasValueContainer" >
52+ < div className = "input-group udapp_gasValueContainer" >
5353 < CustomTooltip placement = { 'top-start' } tooltipClasses = "text-nowrap" tooltipId = "remixValueTooltip" tooltipText = { < FormattedMessage id = "udapp.tooltipText5" /> } >
5454 < input
5555 ref = { inputValue }
5656 type = "number"
5757 min = "0"
5858 pattern = "^[0-9]"
5959 step = "1"
60- className = "form-control udapp_gasNval udapp_col2 "
60+ className = "form-control"
6161 id = "value"
6262 data-id = "dandrValue"
6363 onChange = { validateValue }
6464 value = { props . sendValue }
6565 />
6666 </ 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 >
9091 </ div >
9192 </ div >
9293 )
You can’t perform that action at this time.
0 commit comments