fix: stabilize desktop recommendation layouts
This commit is contained in:
@@ -45,14 +45,17 @@ export function OfficialRecommendationsPage() {
|
||||
|
||||
return (
|
||||
<section>
|
||||
<SectionHeader title={t("officialSection")} />
|
||||
<div className="mt-7 grid grid-cols-[repeat(auto-fill,208px)] justify-center gap-3 md:grid-cols-[repeat(auto-fill,240px)] md:justify-start md:gap-4 lg:grid-cols-[repeat(auto-fill,246.4px)]">
|
||||
<div className="mx-auto max-w-full px-4 md:max-w-[820px] md:px-0 lg:max-w-[1080px] xl:max-w-[1180px]">
|
||||
<SectionHeader title={t("officialSection")} />
|
||||
</div>
|
||||
<div className="mx-auto mt-7 grid max-w-full grid-cols-1 justify-items-center gap-3 px-4 min-[560px]:grid-cols-2 md:max-w-[820px] md:grid-cols-3 md:px-0 lg:max-w-[1080px] lg:grid-cols-4 xl:max-w-[1180px]">
|
||||
{items.map((item, index) => (
|
||||
<RecommendedCard
|
||||
key={item.id}
|
||||
r={item}
|
||||
visualIndex={index}
|
||||
useFigmaDesign
|
||||
layout="grid"
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user