chore: Double the size of 88x31 buttons to improve rendering
This commit is contained in:
parent
a872096063
commit
7a030a0a67
2 changed files with 7 additions and 4 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue