Limit text on TextColumn depending on the breakpoint?
Is it possible to pass multiple values to limit() somehow?
I currently use limit(30) to ensure my table doesn't scroll on mobile, but I'd like to increase the limit to 60 on higher breakpoints like lg or xl...
2 Replies
Have you tried adding extarAttributes with the tailwind class truncate ?
@Nox Yes, tried it just now. But the truncate class from Tailwind has no effect. Also tried to fiddle in stuff like line-clamp-1 or min-w-0, but still no Luck. Combining extra attributes with a Filament Grid and some columnSpan() direction to get the columns to a fixed width didn't do anything either.