From f119e4b4a2ebd853f7427707f829000d958aaca5 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Fri, 21 Feb 2025 03:17:42 -0500 Subject: [PATCH] Centre picture --- src/Body/Fetch/ProfilePicture.tsx | 1 + src/style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Body/Fetch/ProfilePicture.tsx b/src/Body/Fetch/ProfilePicture.tsx index 3a74ca1..8ceb9ee 100644 --- a/src/Body/Fetch/ProfilePicture.tsx +++ b/src/Body/Fetch/ProfilePicture.tsx @@ -1,3 +1,4 @@ +// TODO: Generate JXL once it doesn't crash import hero from "../../assets/MichaelBradley.jpeg?format=avif;webp;jpeg&as=picture"; const ProfilePicture = () => ( diff --git a/src/style.css b/src/style.css index 6954ecd..a9b8e89 100644 --- a/src/style.css +++ b/src/style.css @@ -248,6 +248,7 @@ p { #michael-photo-container { max-height: 9lh; aspect-ratio: 1; + align-self: center; :active { animation: spin 1s linear infinite forwards;