Skip to content

Commit

Permalink
Merge pull request #333 from love-sonkar/fix_card_alignment_issue
Browse files Browse the repository at this point in the history
fixes #332 changes in projectlist file to center project cards
  • Loading branch information
ArslanYM authored Sep 18, 2023
2 parents fb64f56 + 494c6d9 commit 7036a97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

1 comment on commit 7036a97

@vercel
Copy link

@vercel vercel bot commented on 7036a97 Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

starter-hive – ./

starter-hive-arslanym.vercel.app
starter-hive.vercel.app
starter-hive-git-main-arslanym.vercel.app

Please sign in to comment.