improved responsiveness

This commit is contained in:
Daniel
2023-07-24 07:25:15 -04:00
parent 400939cb0b
commit 6708be2dfd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ export default function Index() {
</div>
</div>
{links[0] ? (
<div className="grid 2xl:grid-cols-3 xl:grid-cols-2 gap-5">
<div className="grid grid-cols-1 2xl:grid-cols-3 xl:grid-cols-2 gap-5">
{links
.filter((e) => e.collectionId === Number(router.query.id))
.map((e, i) => {
+1 -1
View File
@@ -66,7 +66,7 @@ export default function Index() {
) : null}
</div>
</div>
<div className="grid 2xl:grid-cols-3 xl:grid-cols-2 gap-5">
<div className="grid grid-cols-1 2xl:grid-cols-3 xl:grid-cols-2 gap-5">
{links
.filter((e) => e.tags.some((e) => e.id === Number(router.query.id)))
.map((e, i) => {