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
Solution:
ah, it's not on the body, it's inside main.
No description
Jump to solution
6 Replies
uarefans
uarefansOP2mo ago
Any solution please? Maybe id like <div id="#custom"> is fine
awcodes
awcodes2mo ago
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.
uarefans
uarefansOP2mo ago
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)
No description
Solution
awcodes
awcodes2mo ago
ah, it's not on the body, it's inside main.
No description
awcodes
awcodes2mo ago
in this example the resource is 'PageResource' for me.
uarefans
uarefansOP2mo ago
thank you will check
Want results from more Discord servers?
Add your server