rmed the focus

pull/4040/head
lianahus 1 year ago committed by Aniket
parent 5dd09511d1
commit ea2e426374
  1. 9
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx
  2. 4
      libs/remix-ui/run-tab/src/lib/css/run-tab.css

@ -509,17 +509,12 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
<div className="pt-2 d-flex flex-column sudapp_button udapp_atAddressSect"> <div className="pt-2 d-flex flex-column sudapp_button udapp_atAddressSect">
<div className="d-flex flex-row"> <div className="d-flex flex-row">
<CustomTooltip placement={'top-end'} tooltipClasses="text-wrap text-left" tooltipId="runAndDeployAddresstooltip" tooltipText={atAddressOptions.title}> <CustomTooltip placement={'top-end'} tooltipClasses="text-wrap text-left" tooltipId="runAndDeployAddresstooltip" tooltipText={atAddressOptions.title}>
<div <div id="runAndDeployAtAdressButtonContainer" data-title={atAddressOptions.title}>
style={!atAddressOptions.disabled ? { cursor: 'pointer' } : { cursor: 'default' }}
id="runAndDeployAtAdressButtonContainer"
onClick={loadFromAddress}
data-title={atAddressOptions.title}
>
<button <button
className="udapp_atAddress btn-sm py-2 btn-primary" className="udapp_atAddress btn-sm py-2 btn-primary"
id="runAndDeployAtAdressButton" id="runAndDeployAtAdressButton"
disabled={atAddressOptions.disabled} disabled={atAddressOptions.disabled}
style={{ pointerEvents: 'none', border: 'none' }} style={{ border: 'none' }}
onClick={loadFromAddress} onClick={loadFromAddress}
data-title={atAddressOptions.title} data-title={atAddressOptions.title}
> >

@ -111,6 +111,10 @@
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-right: 0; border-right: 0;
} }
.udapp_atAddress:focus {
outline: none;
box-shadow: none;
}
.udapp_atAddressSect { .udapp_atAddressSect {
margin-top: 8px; margin-top: 8px;
height: 32px; height: 32px;

Loading…
Cancel
Save