feat: update ProjectCardSection layout for better responsiveness on smaller screens

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2024-11-18 22:45:12 +07:00
parent 3aac567695
commit 939ce86988

View File

@ -27,7 +27,7 @@ export default function ProjectCardCalendarManageSection({ projectData }: Projec
const [currentProjectId, setCurrentProjectId] = useState<number | undefined>(undefined);
return (
<div id="content" className="grid grid-cols-2 space-x-2">
<div id="content" className="grid grid-cols-1 md:grid-cols-2 space-x-2">
{projectData != null ? (
projectData.map((project) => (
<Card key={project.id} className="mb-3">