line height fix

pull/2956/head
lianahus 2 years ago committed by yann300
parent 30e08cc82b
commit ffc9f12e9c
  1. 2
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -240,7 +240,7 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
<div className='d-flex justify-content-between'> <div className='d-flex justify-content-between'>
<div className="d-flex justify-content-between align-items-end"> <div className="d-flex justify-content-between align-items-end">
<label className="udapp_settingsLabel pr-1">Contract</label> <label className="udapp_settingsLabel pr-1">Contract</label>
<div className="d-flex">{ Object.keys(props.contracts.contractList).length > 0 && compilationSource !== '' && <label className="mb-1 text-capitalize" data-id="udappCompiledBy">(Compiled by {compilationSource})</label>}</div> <div className="d-flex">{ Object.keys(props.contracts.contractList).length > 0 && compilationSource !== '' && <label className="text-capitalize" style={{maxHeight: '0.6rem', lineHeight: '1rem'}} data-id="udappCompiledBy">(Compiled by {compilationSource})</label>}</div>
</div> </div>
<OverlayTrigger placement={'right'} overlay={ <OverlayTrigger placement={'right'} overlay={
<Tooltip className="text-nowrap" id="info-sync-compiled-contract"> <Tooltip className="text-nowrap" id="info-sync-compiled-contract">

Loading…
Cancel
Save