transact btn layout

pull/5370/head
lianahus 2 years ago committed by Aniket
parent a55022b3f2
commit ff8ad9fdb2
  1. 2
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx
  2. 10
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -283,7 +283,7 @@ export function ContractGUI (props: ContractGUIProps) {
onClick={handleExpandMultiClick}
title={buttonOptions.title}
data-id={buttonOptions.dataId}
className={`btn udapp_instanceButton ${buttonOptions.classList}`}
className={`udapp_instanceButton ${buttonOptions.classList}`}
>
{ buttonOptions.content }
</button>

@ -292,7 +292,15 @@ export function UniversalDappUI (props: UdappProps) {
<label className="">CALLDATA</label>
<div className="d-flex justify-content-end w-100 align-items-center">
<input id="deployAndRunLLTxCalldata" onChange={handleCalldataChange} className="udapp_calldataInput form-control" title="The Calldata to send to fallback function of the contract." />
<button id="deployAndRunLLTxSendTransaction" data-id="pluginManagerSettingsDeployAndRunLLTxSendTransaction" className="udapp_instanceButton p-0 w-50 btn border-warning text-warning" title="Send data to contract." onClick={sendData}>Transact</button>
<button
id="deployAndRunLLTxSendTransaction"
data-id="pluginManagerSettingsDeployAndRunLLTxSendTransaction"
className="btn udapp_instanceButton p-0 w-50 border-warning text-warning"
title="Send data to contract."
onClick={sendData}
>
Transact
</button>
</div>
</div>
<div>

Loading…
Cancel
Save