From 9009317f83b986f596b2b4fe6c31732ae79cf0f5 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 13 May 2023 13:15:24 +0100 Subject: [PATCH] star in top right fix --- src/main/resources/templates/home.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);