new plus icon

pull/2249/head
lianahus 3 years ago committed by yann300
parent 3f3c538e86
commit 99aa5ccd47
  1. 10
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -617,11 +617,11 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
return ( return (
<section> <section>
<article> <article>
<header className='pt-0 remixui_compilerSection border-bottom'> <div className='pt-0 mb-3 remixui_compilerSection border-bottom'>
<div className="mb-1"> <div className="mb-1">
<label className="remixui_compilerLabel form-check-label" htmlFor="versionSelector"> <label className="remixui_compilerLabel form-check-label" htmlFor="versionSelector">
Compiler Compiler
<button className="far fa-plus-square border-0 p-0 mx-2 btn-sm" onClick={promptCompiler} title="Add a custom compiler with URL"></button> <button className="far fa-plus btn-light border-0 p-0 mx-2 btn-sm" onClick={promptCompiler} title="Add a custom compiler with URL"></button>
</label> </label>
<select value={ state.selectedVersion || state.defaultVersion } onChange={(e) => handleLoadVersion(e.target.value) } className="custom-select" id="versionSelector" disabled={state.allversions.length <= 0}> <select value={ state.selectedVersion || state.defaultVersion } onChange={(e) => handleLoadVersion(e.target.value) } className="custom-select" id="versionSelector" disabled={state.allversions.length <= 0}>
{ state.allversions.length <= 0 && <option disabled data-id={state.selectedVersion === state.defaultVersion ? 'selected' : ''}>{ state.defaultVersion }</option> } { state.allversions.length <= 0 && <option disabled data-id={state.selectedVersion === state.defaultVersion ? 'selected' : ''}>{ state.defaultVersion }</option> }
@ -679,8 +679,8 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
</a> </a>
</div> </div>
} }
<hr /> </div>
<div className='pt-0 remixui_compilerSection border-bottom'>
<div className="d-flex pb-1 remixui_compilerConfig custom-control custom-radio"> <div className="d-flex pb-1 remixui_compilerConfig custom-control custom-radio">
<input className="custom-control-input" type="radio" name="configradio" value="manual" onChange={toggleConfigType} checked={!state.useFileConfiguration} id="scManualConfig" /> <input className="custom-control-input" type="radio" name="configradio" value="manual" onChange={toggleConfigType} checked={!state.useFileConfiguration} id="scManualConfig" />
<label className="form-check-label custom-control-label" htmlFor="scManualConfig">Compiler configuration</label> <label className="form-check-label custom-control-label" htmlFor="scManualConfig">Compiler configuration</label>
@ -795,7 +795,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
</CopyToClipboard> </CopyToClipboard>
</div> </div>
</div> </div>
</header> </div>
</article> </article>
</section> </section>
) )

Loading…
Cancel
Save