diff --git a/src/pages/index.astro b/src/pages/index.astro index 7b16e70..758bc8f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -81,6 +81,8 @@ const photos = await getPhotos(); } .avatar { width: clamp(77px, 20vw, 150px); + /* override the img's height="300" so aspect-ratio keeps it round */ + height: auto; aspect-ratio: 1; border: 3px solid var(--bg); border-radius: 50%;