star in top right fix
This commit is contained in:
parent
67772e7221
commit
9009317f83
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue