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

This commit is contained in:
CorrectRoadH 2023-03-17 19:38:59 +08:00 committed by GitHub
parent c189654cd9
commit f1f9140afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
) : (