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. 6
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

@ -373,10 +373,12 @@ export function ContractGUI(props: ContractGUIProps) {
<button
type="button"
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 === '')}
>
{buttonOptions.content}
<div className="text-center d-flex justify-content-center align-items-center">
{buttonOptions.content}
</div>
</button>
</div>
</CustomTooltip>

Loading…
Cancel
Save