Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 41d0685

Browse files
committed
style(communities-card): add hover effect
1 parent e855975 commit 41d0685

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

containers/CommunitiesContent/styles/community_cards.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ export const Card = styled(BaseCard)`
3131
&:hover {
3232
border: 1px solid;
3333
border-color: ${theme('content.cardBorderHover')};
34+
border-top: 2px solid;
35+
border-top-color: ${theme('content.cardBorderHover')};
36+
margin-top: -8px;
3437
}
38+
transition: margin 0.2s;
3539
`
3640

3741
export const EmptyCard = styled(BaseCard)`

0 commit comments

Comments
 (0)