fix: empty state display issue with resourceList style Grid (#2018)

This commit is contained in:
Ajay Kumbhare 2023-07-23 16:40:33 +05:30 committed by GitHub
parent 04b7a26c03
commit 5604129105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ const ResourcesDashboard = () => {
) : (
<div
className={
listStyle === "TABLE"
listStyle === "TABLE" || resourceList.length === 0
? "flex flex-col justify-start items-start w-full"
: "w-full h-auto grid grid-cols-2 md:grid-cols-4 md:px-6 gap-6"
}