Skip to content
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

Add support for Filament classes #86

Open
azzazkhan opened this issue Nov 22, 2024 · 1 comment
Open

Add support for Filament classes #86

azzazkhan opened this issue Nov 22, 2024 · 1 comment

Comments

@azzazkhan
Copy link

I'm trying to set custom column span for specific widgets but it's not changing the column span. After digging up a bit I found that Filament adds --col-span-default CSS variable in style attribute of the wrapper element and then adds `` class on the wrapper element to make it span specified columns. Currently the element and classes are hard coded in filament-google-analytics::widgets.* views so specifying custom column span is not possible.

@azzazkhan
Copy link
Author

azzazkhan commented Nov 22, 2024

Just replace the wrapper div element with x-filament-widgets::widget component in blade views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant