Skip to content

Commit

Permalink
Fixed half shadow on single post page
Browse files Browse the repository at this point in the history
- Added full shadow
  • Loading branch information
mbeps committed Mar 14, 2023
1 parent 4bdbec8 commit 21bac99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Posts/Comments/Comments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const Comments: React.FC<CommentsProps> = ({
}, [selectedPost]);

return (
<Box bg="white" borderRadius="0px 0px 10px 10px">
<Box bg="white" borderRadius="0px 0px 10px 10px" shadow="md">
<Flex
direction="column"
pl={10}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Posts/PostItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const PostItem: React.FC<PostItemProps> = ({
borderRadius={singlePostPage ? "10px 10px 0px 0px" : "10px"}
_hover={{
borderColor: singlePostPage ? "none" : "gray.400",
boxShadow: "xl",
boxShadow: !singlePostPage && "xl",
}}
cursor={singlePostPage ? "unset" : "pointer"}
onClick={() => onSelectPost && onSelectPost(post)} // if a post is selected then open post
Expand Down

0 comments on commit 21bac99

Please sign in to comment.