From 913702ebcdf6dd1a5809351d44585f73a90322c5 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 16 Apr 2024 08:49:08 -0700 Subject: [PATCH] fix: addon link styles --- package.json | 2 +- src/assets/styles/components/addon-links.css | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 07973364..60295a0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "11.3.5", + "version": "11.3.6", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/components/addon-links.css b/src/assets/styles/components/addon-links.css index 29c6fafb..012c812f 100644 --- a/src/assets/styles/components/addon-links.css +++ b/src/assets/styles/components/addon-links.css @@ -3,7 +3,7 @@ gap: var(--sizing-sm); grid-template-columns: repeat(1,minmax(0,1fr)); - & h2 { + & div > h2 { margin-top: 0; } @@ -20,12 +20,8 @@ .addon-links { grid-template-columns: repeat(2,minmax(0,1fr)); - & div:first-of-type { - margin-right: var(--sizing-lg); - } - - & div h2 { - margin-top: 0 !important; + & div:last-of-type h2 { + margin-top: 0; } } } \ No newline at end of file