Skip to content

Commit

Permalink
Fix issue with certificate visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ab7022 committed Nov 8, 2024
1 parent 7b33e78 commit 149ed4d
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 149ed4d

Please sign in to comment.