Edit relation manager spacing in infolist
I asked this morning whether it was possible to include relation managers sequentially, which I have now implemented. My problem is that they look extremely similar to each other this like - is there any way I can add a larger gap between each table / amend the CSS for the title row? π€
(all data in screenshot is generated via faker and not real)
Solution:Jump to solution
Just did a very quick test with a
PostResource
:
```
.fi-resource-posts .fi-resource-relation-manager {
margin-top: 4rem;
}...8 Replies
This should be possible with custom CSS. Are you missing a selector to target the right elements?
I'm not entirely sure how to implement any custom CSS without breaking everything π
can you point me in the right direction for how I would go about doing this?
First step would be to load a custom CSS file in your Panel. Something like this:
https://filamentphp.com/docs/3.x/support/assets#registering-css-files
Try something very visible, like this:
Just to make sure the CSS works
thank you, I'll take a look!
Solution
Just did a very quick test with a
PostResource
:
Adjust to taste π€
worked perfectly - thank you very much, Patrick π π