fix: avatar styles

This commit is contained in:
Cory Dransfeldt 2024-07-19 09:38:33 -07:00
parent 928711aa54
commit 6277e3d2ec
No known key found for this signature in database
3 changed files with 5 additions and 7 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.7", "version": "20.12.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.7", "version": "20.12.8",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.7", "version": "20.12.8",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -9,15 +9,13 @@
overflow: hidden; overflow: hidden;
& .interior { & .interior {
width: var(--avatar-size);
height: var(--avatar-size);
display: flex; display: flex;
justify-content: center; justify-content: center;
overflow: hidden; overflow: hidden;
& img { & img {
width: 100%; width: var(--avatar-size);
height: 100%; height: var(--avatar-size);
image-rendering: pixelated; image-rendering: pixelated;
} }
} }