feat: add until className defines (#6141)

This commit is contained in:
Joel
2024-07-10 15:34:56 +08:00
committed by GitHub
parent 1d2ab2126c
commit a62325ac87
4 changed files with 146 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ const Tabs: FC<TabsProps> = ({
<div
key={tab.key}
className={cn(
'relative mr-4 h-[34px] leading-[34px] text-[13px] font-medium cursor-pointer',
'relative mr-4 h-[34px] text-[13px] leading-[34px] font-medium cursor-pointer',
activeTab === tab.key
? 'text-gray-700 after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-full after:bg-primary-600'
: 'text-gray-500',

View File

@@ -46,7 +46,7 @@ const Blocks = ({
key={tool.name}
selector={`workflow-block-tool-${tool.name}`}
position='right'
className='!p-0 !px-3 !py-2.5 !w-[200px] !leading-[18px] !text-xs !text-gray-700 !border-[0.5px] !border-black/5 !bg-transparent !rounded-xl !shadow-lg'
className='!p-0 !px-3 !py-2.5 !w-[200px] !leading-[18px] !text-xs !text-gray-700 !border-[0.5px] !border-black/5 !rounded-xl !shadow-lg'
htmlContent={(
<div>
<BlockIcon