Merge pull request #4818 from ethereum/transaction-button-fix

fix vertical alignment of Transaction button
pull/5370/head
Joseph Izang 6 months ago committed by GitHub
commit d03f078a8b
  1. 4
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

@ -373,10 +373,12 @@ export function ContractGUI(props: ContractGUIProps) {
<button <button
type="button" type="button"
data-id={buttonOptions.dataId} data-id={buttonOptions.dataId}
className={`udapp_instanceButton btn ${buttonOptions.classList}`} className={`udapp_instanceButton btn ${buttonOptions.classList} text-center d-flex justify-content-center align-items-center`}
disabled={props.disabled || (props.inputs !== '' && basicInput === '')} disabled={props.disabled || (props.inputs !== '' && basicInput === '')}
> >
<div className="text-center d-flex justify-content-center align-items-center">
{buttonOptions.content} {buttonOptions.content}
</div>
</button> </button>
</div> </div>
</CustomTooltip> </CustomTooltip>

Loading…
Cancel
Save