rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.7k stars 320 forks source link

[Feature Request]: Possibility of overwrite default´s classes #1597

Closed solusoftek closed 6 months ago

solusoftek commented 6 months ago

Overview

Overwrite default's styles or classes for tailwind

Detailed explanation

In the td.blade.php asset file, which pertains to Tailwind styling, there's a whitespace-nowrap setting that prevents break-words or break-all from taking effect. Changing to whitespace-pre-line make the magic. It would be nice to have the option to override it with custom classes.

I understand that you've implemented functions like Label or Embed a . However, when it comes to break-words, it only worked by publishing the assets and making direct changes. The use of ->setTdAttributes doesn't seem to be effective, possibly because it appends to the default values.

Notes

No response

solusoftek commented 6 months ago

My Misktake, this feature exists and it's working, i just find on documentation,