Fixed weird hovering issues

This commit is contained in:
Firq 2024-07-20 16:34:21 +02:00
parent e4b0b87e9f
commit 45fd654ef1
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 10 additions and 3 deletions
src/components/cards

View file

@ -20,7 +20,7 @@ const loadedImage = plsLoadImage(images_logos, imagePath)
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
<article>
<Image src={loadedImage} alt={logoAltText} />
<Image src={loadedImage} alt={logoAltText} loading={'eager'}/>
<div>
<h2>{title}</h2>
</div>
@ -70,6 +70,9 @@ const loadedImage = plsLoadImage(images_logos, imagePath)
opacity: 90%;
z-index: 100;
position: absolute;
border-style: solid;
border-width: 10px;
border-color: var(--c-darkgray);
}
article:hover h2 {