fix: body overflowing to the right

i probably shouldn't be doing this SEO thing
This commit is contained in:
trafficlunar 2025-08-23 14:53:45 +01:00
parent 5dde6001fa
commit d372050def

View file

@ -17,6 +17,7 @@ import Carousel from "../carousel";
import LikeButton from "../like-button"; import LikeButton from "../like-button";
import DeleteMiiButton from "../delete-mii"; import DeleteMiiButton from "../delete-mii";
import Pagination from "./pagination"; import Pagination from "./pagination";
import Image from "next/image";
interface Props { interface Props {
searchParams: { [key: string]: string | string[] | undefined }; searchParams: { [key: string]: string | string[] | undefined };
@ -255,14 +256,14 @@ export default async function MiiList({ searchParams, userId, inLikesPage }: Pro
</div> </div>
{/* Offscreen metadata image for search engines; hidden from users */} {/* Offscreen metadata image for search engines; hidden from users */}
{/* eslint-disable-next-line @next/next/no-img-element */} <Image
<img
src={`/mii/${mii.id}/image?type=metadata`} src={`/mii/${mii.id}/image?type=metadata`}
alt={`${mii.name}, a ${mii.gender ? mii.gender.toLowerCase() : ""} Mii ${mii.tags.length ? ` with tags: ${mii.tags.join(", ")}` : ""}`} alt={`${mii.name}, a ${mii.gender ? mii.gender.toLowerCase() : ""} Mii ${mii.tags.length ? ` with tags: ${mii.tags.join(", ")}` : ""}`}
loading="lazy" loading="lazy"
unoptimized
width={1} width={1}
height={1} height={1}
className="absolute left-[999999]" className="absolute left-[-999999]"
/> />
</div> </div>
))} ))}