Changing the maximum content width is not working?
According to docs i should be able to change content maximum width, right?!
Tried both.
1. in
config/filament.php
i entered
My resource page html still contains max-w-7xl
2. in my resource page i entered
protected ?string $maxContentWidth = 'full';
My resource page html still contains max-w-7xl
What i'm missing here?9 Replies
Weird, any cache issues?
Dang it 😦 it was the cache issue.. had to clear the cache after changes.
Can you add it to docs, please?
Glad it works
Well. This cache clearing helped only this config problem.
No dice with 2nd problem.
Did you put inside List?
"You may override the maximum content width for a specific page in the admin panel by using the $maxContentWidth property:" you need to put in the specific file.. not in resource
That's it! Thank you!
how i set it globally not put in the specific every single file ?
Solution
I think there's a
maxContentWidth()
method on the Panel objectYes its work.