chore: Double the size of 88x31 buttons to improve rendering

This commit is contained in:
Aria 2024-12-27 14:13:00 +11:00
parent a872096063
commit 7a030a0a67
Signed by: aria
GPG key ID: 19AB7AA462B8AB3B
2 changed files with 7 additions and 4 deletions

View file

@ -3,12 +3,15 @@ import { Image } from "astro:assets";
const { name, image, target } = Astro.props;
---
<a href={`${target}`} target="_blank"><Image src={image} width={88} height={31} alt={`${name}`} /></a>
<a href={`${target}`} target="_blank"><Image src={image} width={88} height={31} alt={`${name}`} class="flex" /></a>
<style>
img {
image-rendering: pixelated;
width: 88px;
height: 31px;
min-width: 88px;
width: 176px;
min-height: 31px;
height: 62px;
scale: initial;
padding: 4px;
}
</style>