Subpixel fix

This commit is contained in:
Firq 2024-10-26 22:51:03 +02:00
parent a77312c17c
commit f82d9abb1a
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.41", "version": "0.2.0-pre.42",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -23,8 +23,8 @@ const icon_src_url = `url("${icon.src}")`
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 36px; width: 2.25em;
height: 36px; height: 2.25em;
background-color: var(--c-primary-background); background-color: var(--c-primary-background);
border-radius: .35rem; border-radius: .35rem;
border: 2px solid var(--c-primary-text); border: 2px solid var(--c-primary-text);
@ -41,7 +41,7 @@ const icon_src_url = `url("${icon.src}")`
mask: var(--icon_src_url) no-repeat center; mask: var(--icon_src_url) no-repeat center;
mask-size: contain; mask-size: contain;
background-color: var(--c-primary-text); background-color: var(--c-primary-text);
height: 65%; height: 1.5em;
width: 65%; width: 1.5em;
} }
</style> </style>