diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 9691bea1..97d311bf 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -58,10 +58,15 @@ filter: invert(0.2) sepia(2) saturate(50) hue-rotate(190deg); } .favorite-icon { + display: none; position: absolute; top: 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 { filter: brightness(0);