Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Fix - Pikachu User Image after upload covers the center content

Aadhar Chandiwalaf72e0556e53d
diff --git a/client/templates/Pikachu/widgets/Masthead.tsx b/client/templates/Pikachu/widgets/Masthead.tsx
index 2a59e5684..9256b5c96 100644
--- a/client/templates/Pikachu/widgets/Masthead.tsx
+++ b/client/templates/Pikachu/widgets/Masthead.tsx
@@ -17,9 +17,13 @@ export const MastheadSidebar: React.FC = () => {
return (
<div className="col-span-2 grid justify-items-left gap-4">
{photo.visible && !isEmpty(photo.url) && (
- <div className="relative aspect-square h-full w-full">
- <img alt={name} src={photo.url} className={getPhotoClassNames(photo.filters)} />
- </div>
+ <img
+ alt={name}
+ src={photo.url}
+ width={photo.filters.size}
+ height={photo.filters.size}
+ className={getPhotoClassNames(photo.filters)}
+ />
)}
<div className="flex flex-col gap-2">