Skip to content

Commit

Permalink
Merge pull request code100x#1557 from ab7022/main
Browse files Browse the repository at this point in the history
Fix issue with certificate visibility
  • Loading branch information
siinghd authored Nov 11, 2024
2 parents 5a536cd + 149ed4d commit 5be5b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/certificate/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const CertificatePage = async () => {
const certificates = await getCertificates();

return (
<section className="flex w-full flex-wrap items-center justify-center">
<section className="flex w-full flex-wrap mt-20 items-center justify-center">
{certificates?.map(({ cert, course, user }) => (
<CertificateComponent
certificateId={cert.id}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Certificate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const CertificateComponent = ({
};

return (
<Card className="w-500 my-4" key={course.id}>
<Card className="w-500 my-4 pt-8" key={course.id}>
<CardContent className="flex justify-center">
{certificateImageUrl ? (
<img
Expand Down

0 comments on commit 5be5b7e

Please sign in to comment.