From b33f318e800d851903744c678e98c07c879a26eb Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 21 Nov 2024 20:31:26 -0800 Subject: [PATCH] fix: banner svg alignment --- package-lock.json | 4 ++-- package.json | 2 +- src/styles/components/banners.css | 11 ++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c379049..534711f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "1.1.0", + "version": "1.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "1.1.0", + "version": "1.1.2", "dependencies": { "@astrojs/check": "0.9.4", "@astrojs/cloudflare": "^11.2.0", diff --git a/package.json b/package.json index bec90b7..38c6b88 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coryd.dev", "type": "module", - "version": "1.1.1", + "version": "1.1.2", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/styles/components/banners.css b/src/styles/components/banners.css index 9a4494b..7223514 100644 --- a/src/styles/components/banners.css +++ b/src/styles/components/banners.css @@ -8,18 +8,19 @@ display: inline; } - & span { - display: inline-flex; - vertical-align: middle; - } - & span, & svg { height: var(--sizing-svg-sm); width: var(--sizing-svg-sm); } + & span, & p { + display: inline; + } + + & p { + display: block; font-size: var(--font-size-sm); color: var(--text-color); margin: 0;