fix(style): some style issues (#5029)

This commit is contained in:
Pika
2024-06-07 20:59:39 +08:00
committed by GitHub
parent ea5c8a72e2
commit d319d9fc5e
4 changed files with 7 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ const Filed: FC<Props> = ({
toggle: toggleFold,
}] = useBoolean(true)
return (
<div className={cn(className, inline && 'flex justify-between items-center')}>
<div className={cn(className, inline && 'flex justify-between items-center w-full')}>
<div
onClick={() => supportFold && toggleFold()}
className={cn('flex justify-between items-center', supportFold && 'cursor-pointer')}>

View File

@@ -17,7 +17,7 @@ const InfoPanel: FC<Props> = ({
<div className='leading-4 text-[10px] font-medium text-gray-500 uppercase'>
{title}
</div>
<div className='leading-4 text-xs font-normal text-gray-700'>
<div className='leading-4 text-xs font-normal text-gray-700 break-words'>
{content}
</div>
</div>