Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: the incorrectly height of grid row in safari (#1366)

CorrectRoadHf1f9140afce4
diff --git a/web/src/pages/ResourcesDashboard.tsx b/web/src/pages/ResourcesDashboard.tsx
index cc7c9b32a..82c971c8a 100644
--- a/web/src/pages/ResourcesDashboard.tsx
+++ b/web/src/pages/ResourcesDashboard.tsx
@@ -141,7 +141,7 @@ const ResourcesDashboard = () => {
<p className="w-full text-center text-base my-6 mt-8">{t("resources.fetching-data")}</p>
</div>
) : (
- <div className="w-full h-full grid grid-cols-2 md:grid-cols-4 md:px-6 gap-6">
+ <div className="w-full h-auto grid grid-cols-2 md:grid-cols-4 md:px-6 gap-6">
{resources.length === 0 ? (
<p className="w-full text-center text-base my-6 mt-8">{t("resources.no-resources")}</p>
) : (