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

fix vertical alignment of Transaction button
pull/4801/merge
Joseph Izang 6 months ago committed by GitHub
commit aedb13b7f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      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 === '')}
>
<div className="text-center d-flex justify-content-center align-items-center">
{buttonOptions.content}
</div>
</button>
</div>
</CustomTooltip>

Loading…
Cancel
Save