fixed the margin of delete icon in udapp

pull/4040/head
lianahus 1 year ago committed by Aniket
parent ea2e426374
commit 10638226e7
  1. 12
      libs/remix-ui/run-tab/src/lib/components/instanceContainerUI.tsx

@ -1,12 +1,12 @@
// eslint-disable-next-line no-use-before-define
import {CustomTooltip} from '@remix-ui/helper'
import { CustomTooltip } from '@remix-ui/helper'
import React from 'react'
import {FormattedMessage, useIntl} from 'react-intl'
import {InstanceContainerProps} from '../types'
import {UniversalDappUI} from './universalDappUI'
import { FormattedMessage, useIntl } from 'react-intl'
import { InstanceContainerProps } from '../types'
import { UniversalDappUI } from './universalDappUI'
export function InstanceContainerUI(props: InstanceContainerProps) {
const {instanceList} = props.instances
const { instanceList } = props.instances
const clearInstance = () => {
props.clearInstances()
@ -34,7 +34,7 @@ export function InstanceContainerUI(props: InstanceContainerProps) {
tooltipId="deployAndRunClearInstancesTooltip"
tooltipText={<FormattedMessage id="udapp.deployAndRunClearInstances" />}
>
<i className="mr-2 udapp_icon far fa-trash-alt" data-id="deployAndRunClearInstances" onClick={clearInstance} aria-hidden="true"></i>
<i className="mr-1 udapp_icon far fa-trash-alt" data-id="deployAndRunClearInstances" onClick={clearInstance} aria-hidden="true"></i>
</CustomTooltip>
) : null}
</div>

Loading…
Cancel
Save