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

pull/2023/head
Ajay Kumbhare 2 years ago committed by GitHub
parent 04b7a26c03
commit 5604129105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"
}

Loading…
Cancel
Save