fix faulty wrapping text in solidity compiler button

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 6a5757203b
commit 76d40a66e6
  1. 4
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -947,12 +947,12 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
</div>} </div>}
> >
<div className="d-flex align-items-center justify-content-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-2" 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-1"> <span className="ml-1 text-nowrap">
{typeof state.compiledFileName === 'string' {typeof state.compiledFileName === 'string'
? extractNameFromKey(state.compiledFileName) || ? extractNameFromKey(state.compiledFileName) ||
`<${intl.formatMessage({ `<${intl.formatMessage({

Loading…
Cancel
Save