mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-06 01:16:58 -06:00
Fix display block on sm screen instead of flex
This commit is contained in:
@@ -65,7 +65,7 @@ const ItemCard = ({banner, bannerBlur, title, description, links, location}: Ite
|
|||||||
</div>
|
</div>
|
||||||
{(links?.length ?? 0) > 0 ?
|
{(links?.length ?? 0) > 0 ?
|
||||||
<div
|
<div
|
||||||
className="hidden sm:block col-span-3 lg:col-span-4 w-full flex justify-end max-h-full md:py-5">
|
className="hidden sm:flex col-span-3 lg:col-span-4 w-full justify-end max-h-full md:py-5">
|
||||||
<div className="grid grid-cols-2 grid-rows-2 p-2 md:gap-3 aspect-square icon-grid">
|
<div className="grid grid-cols-2 grid-rows-2 p-2 md:gap-3 aspect-square icon-grid">
|
||||||
{links!.map(({icon, location, newTab}) =>
|
{links!.map(({icon, location, newTab}) =>
|
||||||
<Link key={location} href={location} target={(newTab ?? true) ? "_blank" : "_self"}
|
<Link key={location} href={location} target={(newTab ?? true) ? "_blank" : "_self"}
|
||||||
|
|||||||
Reference in New Issue
Block a user