fix: adds truncation to tab input (#7323)

Added classes to truncate tab input

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
This commit is contained in:
Lucas Oliveira 2025-03-28 22:30:08 -03:00 committed by GitHub
commit 76a1e56e06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ export default function TabComponent({
<TabsTrigger
key={`${id}_tab_${index}`}
value={tab}
className="flex-1"
className="block flex-1 truncate px-2"
disabled={disabled}
>
{tab}