fix: enhance layout and tooltip handling in Actions component

feat/rag-2
twwu 10 months ago
parent cb8fab7364
commit 3e5772c50c

@ -41,7 +41,7 @@ const Actions = ({
}, [showSelect, selectedOptions, totalOptions]) }, [showSelect, selectedOptions, totalOptions])
return ( return (
<div className='flex items-center gap-x-2'> <div className='flex items-center gap-x-2 overflow-hidden'>
{showSelect && ( {showSelect && (
<> <>
<div className='flex shrink-0 items-center gap-x-2 py-[3px] pl-4 pr-2'> <div className='flex shrink-0 items-center gap-x-2 py-[3px] pl-4 pr-2'>
@ -55,7 +55,7 @@ const Actions = ({
</span> </span>
</div> </div>
{tip && ( {tip && (
<div className='system-xs-regular shrink-0 text-text-tertiary'> <div title={tip} className='system-xs-regular max-w-full truncate text-text-tertiary'>
{tip} {tip}
</div> </div>
)} )}

Loading…
Cancel
Save