-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extend MediaResource broking grid view style #555
Comments
Did you follow the installation instructions about incorporating with a custom theme? |
yes. here is tailwind.config.js :
here is theme.scss :
and setup procces is done ( steps below ):
|
I think this is because Filament Curator automatically assigns different classes when implementing a custom media resource, so .fi-resource-media becomes .fi-resource-custom-media. The styles in vendor/awcodes/filament-curator/resources/dist/curator.css do not take this change into account and are hard-wired to .fi-resource-media. As a workaround, try pasting the following styles into your custom theme css:
|
It's not just about style. |
That I can not confirm. It works for me. |
yes its working . thank you. i put the styles into my custom theme and it is working now . but it is still a bug , isn't it ? :) |
Filament Version
v3.2
Plugin Version
v3.6
PHP Version
PHP 8.2.12
Problem description
when i using
->resource(\App\Filament\Resources\CustomMediaResource::class)
in plugins registeration or'resource' => \App\Filament\Resources\CustomMediaResource::class,
in config file ,the grid layout is not woking correctly.
and this is my CustomMediaResource (nothing changed) :
Expected behavior
i want to disable delete and edit on some items
i hope an update fixing this.
Steps to reproduce
this is my CustomMediaResource (nothing changed) :
Reproduction repository
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: