center button contents

pull/3165/head
Joseph Izang 2 years ago committed by Aniket
parent 0b4d4b5b0e
commit 5672c8d8ad
  1. 4
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -945,13 +945,13 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
{(configFilePath === '' && state.useFileConfiguration) && <div> No config file selected</div>} {(configFilePath === '' && state.useFileConfiguration) && <div> No config file selected</div>}
</div>} </div>}
> >
<div className="d-flex align-items-center"> <div className="d-flex align-items-center justify-content-center">
{ <i ref={compileIcon} className="fas fa-sync remixui_iconbtn ml-4" aria-hidden="true"></i> } { <i ref={compileIcon} className="fas fa-sync remixui_iconbtn ml-4" aria-hidden="true"></i> }
<div className="d-flex justify-content-between align-items-center"> <div className="d-flex justify-content-between align-items-center">
<span> <span>
<FormattedMessage id='solidity.compile' defaultMessage='Compile' /> <FormattedMessage id='solidity.compile' defaultMessage='Compile' />
</span> </span>
<span className="ml-2"> <span className="ml-1">
{typeof state.compiledFileName === 'string' {typeof state.compiledFileName === 'string'
? extractNameFromKey(state.compiledFileName) || ? extractNameFromKey(state.compiledFileName) ||
`<${intl.formatMessage({ `<${intl.formatMessage({

Loading…
Cancel
Save