From bfc65e9d186fd27ec688e99b8e3f617426164bac Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmad Date: Sat, 3 Feb 2024 10:54:22 +0500 Subject: [PATCH] Fix bookmark button hover --- apps/builddao/widget/components/post/BookmarkButton.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/builddao/widget/components/post/BookmarkButton.jsx b/apps/builddao/widget/components/post/BookmarkButton.jsx index 5ddf89d9..85a254a7 100644 --- a/apps/builddao/widget/components/post/BookmarkButton.jsx +++ b/apps/builddao/widget/components/post/BookmarkButton.jsx @@ -63,6 +63,8 @@ const bookmarkFillSvg = ( const BookmarkButton = styled.div` line-height: 20px; min-height: 20px; + width: 20px; + height: 20px; display: inline-flex; align-items: center; justify-content: left; @@ -72,8 +74,10 @@ const BookmarkButton = styled.div` .icon { position: relative; &:before { - margin: -8px; + margin: -8px -9.5px; content: ""; + width: 36px; + height: 36px; position: absolute; top: 0; left: 0;