From 973ea2c3e6db738f730ed00e03f60c70f3b8630d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 7 Mar 2024 11:46:42 -0800 Subject: [PATCH] fix: aspect ratio --- package.json | 2 +- src/assets/styles/components/media-grid.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 65060254..24647fb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "7.6.1", + "version": "7.6.2", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/components/media-grid.css b/src/assets/styles/components/media-grid.css index 6452e5b2..f1a159bb 100644 --- a/src/assets/styles/components/media-grid.css +++ b/src/assets/styles/components/media-grid.css @@ -87,6 +87,7 @@ .media__grid.square img { width: 100%; height: 100%; + aspect-ratio: 1/1; } .media__grid.vertical a,