From fabd9e05f614a831f887c8f69afad19538baffaa Mon Sep 17 00:00:00 2001 From: Daniel Shleifman Date: Mon, 23 Aug 2021 16:13:51 +0300 Subject: [PATCH] hover effect added to poster in torrent card --- web/src/components/TorrentCard/style.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/components/TorrentCard/style.js b/web/src/components/TorrentCard/style.js index 5c14d06..142d05b 100644 --- a/web/src/components/TorrentCard/style.js +++ b/web/src/components/TorrentCard/style.js @@ -38,6 +38,12 @@ export const TorrentCardPoster = styled.div` overflow: hidden; text-align: center; cursor: pointer; + transition: 0.2s; + position: relative; + + :hover { + filter: brightness(0.7); + } ${({ isPoster,