Skip to content

Commit

Permalink
site: update site scrollbar style (ant-design#49088)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan authored May 27, 2024
1 parent cace256 commit 4f832aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .dumi/theme/slots/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,16 @@ const useStyle = createStyles(({ token, css }) => {
}
.dumi-default-search-popover {
inset-inline-start: 11px;
inset-inline-start: ${token.paddingSM}px;
inset-inline-end: unset;
&::before {
inset-inline-start: 100px;
inset-inline-end: unset;
}
& > section {
scrollbar-width: thin;
scrollbar-color: unset;
}
}
}
`,
Expand Down

0 comments on commit 4f832aa

Please sign in to comment.