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

Commit 8dea9c4

Browse files
committed
fix(post-item): avoid tippy popover display bug
1 parent 5b515e1 commit 8dea9c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"//--- contact configs ---//": "",
6060
"EMAIL_SUPPORT": "coderplanets@outlook.com",
6161
"// GRAPHQL_ENDPOINT": "https://api.coderplanets.com/graphiql",
62-
"BUILD_VERSION": "v2.0.95",
62+
"BUILD_VERSION": "v2.0.96",
6363
"// 1000 * 60 * 10 = 10 mins": "",
6464
"SSR_CACHE_TIME": 60000
6565
}

deploy/production/web.tar.gz

-228 Bytes
Binary file not shown.

src/widgets/PostItem/DesktopView/Body.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const Body: FC<TProps> = ({ item, curCommunity }) => {
4747
<Fragment>
4848
<Tooltip
4949
content={<CommunityCard item={originalCommunity} />}
50-
placement="bottom-start"
50+
placement="right"
5151
delay={1500}
5252
>
5353
<CommunityLabel
@@ -62,7 +62,7 @@ const Body: FC<TProps> = ({ item, curCommunity }) => {
6262

6363
<Tooltip
6464
content={<UserCard item={author} />}
65-
placement="bottom-start"
65+
placement="right"
6666
delay={500}
6767
>
6868
<Link href={`/u/${author.login}`} passHref>

src/widgets/PostItem/styles/desktop_view/body.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const CommunityLabel = styled.div`
4343
content: '';
4444
position: absolute;
4545
left: 1px;
46-
top: 2px;
46+
top: 3px;
4747
width: 6px;
4848
height: 11px;
4949
border-radius: 4px;

0 commit comments

Comments
 (0)