Fixed weird hovering issues
This commit is contained in:
parent
e4b0b87e9f
commit
45fd654ef1
3 changed files with 10 additions and 3 deletions
src/components/cards
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue