From cd7aa6a0112474ae3efbf4a90a5be9917ff080ed Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 10 Aug 2024 21:41:31 -0700 Subject: [PATCH] fix: minor bug w/shadow overlay when link wrapping grid image is focused --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/styles/components/media-grid.css | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index cc882010..7c0309af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.1.0", + "version": "22.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.1.0", + "version": "22.1.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index ccf511b5..87e3a95f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.1.0", + "version": "22.1.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/components/media-grid.css b/src/assets/styles/components/media-grid.css index 2cc05252..89872a09 100644 --- a/src/assets/styles/components/media-grid.css +++ b/src/assets/styles/components/media-grid.css @@ -67,6 +67,13 @@ border: 0 } + & a:focus .shadow::after, + & a:focus-within .shadow::after { + left: 0; + width: 100%; + height: 100% + } + & .meta-text { position: absolute; z-index: 2;