star in top right fix

This commit is contained in:
Anthony Stirling 2023-05-13 13:15:24 +01:00
parent 67772e7221
commit 9009317f83

View file

@ -58,10 +58,15 @@ filter: invert(0.2) sepia(2) saturate(50) hue-rotate(190deg);
} }
.favorite-icon { .favorite-icon {
display: none;
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 10px;
cursor: pointer; }
/* Only show the favorite icons when the parent card is being hovered over */
.feature-card:hover .favorite-icon {
display: block;
} }
.favorite-icon img { .favorite-icon img {
filter: brightness(0); filter: brightness(0);