Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #332 changes in projectlist file to center project cards #333

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/pages/Issues/ListOfOrgs/ProjectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ProjectCard = ({
));

return (
<div className="flex self-auto flex-col h-full max-w-sm border rounded-lg shadow bg-gray-800 border-gray-700">
<div className="flex self-auto flex-col h-full w-96 border rounded-lg shadow bg-gray-800 border-gray-700">
<a href={projectLink}>
<img
rel="preload"
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Issues/ProjectList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ProjectCard from "./ListOfOrgs/ProjectCard";
const ProjectList = () => {
return (
<div className="mx-auto min-h-screen max-w-screen-2xl p-4 md:p-8 2xl:p-10">
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 md:gap-4 xl:grid-cols-3 2xl:gap-7.5 bg-gradient-to-r from-gray-700 via-gray-900 to-black bg-animate items-center">
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 md:gap-4 xl:grid-cols-3 2xl:gap-7.5 bg-gradient-to-r from-gray-700 via-gray-900 to-black bg-animate place-items-center">
{projectList.map((project, key) => {
return (
<ProjectCard
Expand Down