blade section component scrollable
Hi, how can i make the blade section component scrollable with fixed width?
I am writing a chat funcion for my app and want it to make the chat scrollable, instead of an infinite long section component.
Solution:Jump to solution
Hey!
Depending on your setup:
If you have a custom Filament page you need theming (https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme)...
11 Replies
You can use slideover() if it's a slide button / action.
Or just apply tailwind classes
ok guess i'll go with tailwind classes, but i'm having a problem where the classes don't load in view
but the code is:
I cut it due to discord limit, but the classes don't show even in inspector
If the classes are in the blade did you re-compile your vite?
npm run build
so the classes are includued?
yes i did run npm run build, but nothing! I wrote this question on the laravel server too and on github but i can;t get it to work, it all seems ok
The github link with in detail problem and code https://github.com/filamentphp/filament/discussions/11367
GitHub
Can't load tailwind classes Β· filamentphp filament Β· Discussion #11...
Package Other Package Version v3.0.0 How can we help you? Hi, i'm having troubles loading tailwind into a custom livewire page that i call in a panel. <x-filament::section> <!-- Chat B...
Solution
Hey!
Depending on your setup:
If you have a custom Filament page you need theming (https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme)
If you have a custom Livewire section you need to make sure tailwind is configured properly (included the filament styles, included app.css).
Hi, thank you! Does the theme changes the basic filament look?
Nope, unless you want to π
Great, i'll try it, thank you!
sorry to bother, in my general tailiwnd config i have this customs colors how can i add them?
can i add them like this?
Thats what de documentation is stating π
Or use the same hex.
ok thank you so much