8000 :bug: fix: 修复订阅按钮位移问题 · lobehub/lobe-vidol@5a2178c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 5a2178c

Browse files
committed
🐛 fix: 修复订阅按钮位移问题
1 parent 0e57daa commit 5a2178c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/features/MarketInfo/actions/Subscribe.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const Subscribe = memo((props: SubscribeButtonProps) => {
2323
return (
2424
<Popover
2525
open={downloading}
26+
getPopupContainer={() => document.querySelector('#subscribe_button')!}
2627
title={
2728
<Flexbox>
2829
<Space>
@@ -43,6 +44,7 @@ const Subscribe = memo((props: SubscribeButtonProps) => {
4344
<Button
4445
key={'subscribe'}
4546
disabled={downloading}
47+
id="subscribe_button"
4648
onClick={async () => {
4749
await fetchAgentData(agent);
4850
}}

0 commit comments

Comments
 (0)
0