Skip to content
Snippets Groups Projects
Commit 8614cf7d authored by Guilherme Eduardo's avatar Guilherme Eduardo
Browse files

Issue #352: FIX cards size on resources page

parent ae374bcd
Branches
No related tags found
1 merge request!322Issue #352: FIX cards size on resources page
Pipeline #42675 passed
......@@ -166,7 +166,7 @@ export default function Cards(props) {
return (
<Card
className={`active:bg-ice-HC-dark active:rounded-3xl transition ease-in-out 2xl:w-[330px] xl:w-[290px] lg:w-[270px] max-lg:w-[290px] outline outline-1 outline-ice-HC-white ${props.page !== "recurso" && "items-center"}`}
className={`active:bg-ice-HC-dark active:rounded-3xl transition ease-in-out 2xl:w-[320px] xl:w-[290px] lg:w-[295px] max-lg:w-[290px] outline outline-1 outline-ice-HC-white ${props.page !== "recurso" && "items-center"}`}
tabIndex="-1"
sx={{
display: "flex",
......
......@@ -127,7 +127,7 @@ export default function InfiniteScrollCards({ setMecLoading, data, searchClass,
case "LearningObject":
return (
<div className="flex max-2xl:gap-4 gap-2 gap-y-4 flex-wrap ml-7 max-md:ml-0 max-md:justify-center">
<div className="flex justify-around max-2xl:gap-4 gap-2 gap-y-4 flex-wrap ml-7 max-md:ml-0 max-md:justify-center">
{data?.map((item, index) => (
<Cards
id={item['id']}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment