feat: tailwind related improvement (#6085)

This commit is contained in:
Joel 2024-07-09 15:05:40 +08:00 • committed by GitHub
commit eff280f3e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
340 changed files with 2117 additions and 417 deletions

View file

@ -11,7 +11,6 @@ import {
RiCloseLine,
RiListCheck3,
} from '@remixicon/react'
import cn from 'classnames'
import BlockIcon from '../block-icon'
import {
useChecklist,
@ -21,6 +20,7 @@ import type {
CommonEdgeType,
CommonNodeType,
} from '../types'
import cn from '@/utils/classnames'
import {
PortalToFollowElem,
PortalToFollowElemContent,

View file

@ -1,7 +1,6 @@
import type { FC } from 'react'
import { memo } from 'react'
import { useTranslation } from 'react-i18next'
import cn from 'classnames'
import {
RiLoader2Line,
RiPlayLargeFill,
@ -14,6 +13,7 @@ import {
} from '../hooks'
import { WorkflowRunningStatus } from '../types'
import ViewHistory from './view-history'
import cn from '@/utils/classnames'
import {
StopCircle,
} from '@/app/components/base/icons/src/vender/line/mediaAndDevices'

View file

@ -2,7 +2,6 @@ import {
memo,
useState,
} from 'react'
import cn from 'classnames'
import useSWR from 'swr'
import { useTranslation } from 'react-i18next'
import { useShallow } from 'zustand/react/shallow'
@ -19,6 +18,7 @@ import {
useWorkflowRun,
} from '../hooks'
import { WorkflowRunningStatus } from '../types'
import cn from '@/utils/classnames'
import {
PortalToFollowElem,
PortalToFollowElemContent,

View file

@ -4,7 +4,6 @@ import {
useMemo,
useState,
} from 'react'
import cn from 'classnames'
import {
RiCloseLine,
RiHistoryLine,
@ -18,6 +17,7 @@ import {
} from '../hooks'
import TipPopup from '../operator/tip-popup'
import type { WorkflowHistoryState } from '../workflow-history-store'
import cn from '@/utils/classnames'
import {
PortalToFollowElem,
PortalToFollowElemContent,