fix: banner svg alignment

This commit is contained in:
Cory Dransfeldt 2024-11-21 20:31:26 -08:00
parent 0ff7457679
commit b33f318e80
No known key found for this signature in database
3 changed files with 9 additions and 8 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "1.1.0", "version": "1.1.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "1.1.0", "version": "1.1.2",
"dependencies": { "dependencies": {
"@astrojs/check": "0.9.4", "@astrojs/check": "0.9.4",
"@astrojs/cloudflare": "^11.2.0", "@astrojs/cloudflare": "^11.2.0",

View file

@ -1,7 +1,7 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"type": "module", "type": "module",
"version": "1.1.1", "version": "1.1.2",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",

View file

@ -8,18 +8,19 @@
display: inline; display: inline;
} }
& span {
display: inline-flex;
vertical-align: middle;
}
& span, & span,
& svg { & svg {
height: var(--sizing-svg-sm); height: var(--sizing-svg-sm);
width: var(--sizing-svg-sm); width: var(--sizing-svg-sm);
} }
& span,
& p { & p {
display: inline;
}
& p {
display: block;
font-size: var(--font-size-sm); font-size: var(--font-size-sm);
color: var(--text-color); color: var(--text-color);
margin: 0; margin: 0;