Skip to content

Commit 030cb17

Browse files
authored
docs: fix anchor flick when has popover (ant-design#48064)
1 parent 7393623 commit 030cb17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.dumi/theme/slots/Content/DocAnchor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const useStyle = createStyles(({ token, css }) => {
2626
backdrop-filter: blur(8px);
2727
border-radius: ${token.borderRadius}px;
2828
box-sizing: border-box;
29+
margin-inline-end: calc(16px - 100vw + 100%);
2930
z-index: 1000;
3031
3132
.toc-debug {

0 commit comments

Comments
 (0)