FilamentF
Filament3y ago
Finn

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)
filament-example.png
Solution
Just did a very quick test with a PostResource:
.fi-resource-posts .fi-resource-relation-manager {
    margin-top: 4rem;
}
.fi-resource-posts .fi-resource-relation-manager .fi-ta-header-heading {
    font-size: 1.5rem;
}
Was this page helpful?