mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
(Enabled on hover) Added new css class
This commit is contained in:
parent
44dddead7c
commit
4e52bf65b3
2 changed files with 13 additions and 1 deletions
|
@ -142,7 +142,10 @@ function MediaCardContent({
|
|||
</>
|
||||
) : null}
|
||||
|
||||
<div className="absolute" onClick={(e) => e.preventDefault()}>
|
||||
<div
|
||||
className="absolute bookmark-button"
|
||||
onClick={(e) => e.preventDefault()}
|
||||
>
|
||||
<MediaBookmarkButton media={media} />
|
||||
</div>
|
||||
|
||||
|
|
|
@ -5,3 +5,12 @@
|
|||
.hover\:flare-enabled:hover .flare-light {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.bookmark-button {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.group:hover .bookmark-button {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue