How to add custom css class to Specifics resource
Hi, imagine i have UserResource and PostResource.
How to add custom css class to PostResource only?
My goals actually add custom class in Table Header but i ask AI or read documentation and is not possible, so maybe you can help how to add custom class css to Resource so i can nested class like .custom .fi-header { apply: px-12; }
Thank you
6 Replies
Any solution please? Maybe id like <div id="#custom"> is fine
If I remember correctly the body will have a class like post-resource-list, some to that nature that can be used to target the table on that page.
i try to search but only this class
fi-body fi-panel-user min-h-screen bg-gray-50 font-normal text-gray-950 antialiased dark:bg-gray-950 dark:text-white
1. fi-panel-user yes for panel name
2. but for class or id for detect postResource can't see anywhere (in my case project resource)
Solution
ah, it's not on the body, it's inside main.
in this example the resource is 'PageResource' for me.
thank you will check