mirror of https://github.com/usememos/memos.git
fix: empty state display issue with resourceList style Grid (#2018)
This commit is contained in:
parent
04b7a26c03
commit
5604129105
|
|
@ -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…
Reference in New Issue