F
Filament3w ago
Jon

where do i add custom styles for one off tables

On larger monitors I have a lot of unused space that I would like to utilize for a few tables with a lot of columns. I identified the class as <main class='max-w-8xl' (from 7xl) > that i need to change if I want to adjust the entire application. But I am not sure where I would change that, nor how I could apply it to specified tables only. I dont see any published layout files in the STUBs I copied Actually, in trying to find this myself, it appears the width only goes up to 7xl, so anything else would just be making it full width. Regardless, how do I edit tailwind styles for individual elements?
No description
Solution:
You can set it on the panel itself. Not sure of a great way to do it on specific pages / resources without a custom theme and some css. https://filamentphp.com/docs/3.x/panels/configuration#customizing-the-maximum-content-width
Jump to solution
3 Replies
Solution
awcodes
awcodes3w ago
You can set it on the panel itself. Not sure of a great way to do it on specific pages / resources without a custom theme and some css. https://filamentphp.com/docs/3.x/panels/configuration#customizing-the-maximum-content-width
awcodes
awcodes3w ago
Either way it’s set for the page itself, not the table.
Jon
JonOP3w ago
alright, that works
Want results from more Discord servers?
Add your server