Skip to content

Commit

Permalink
feat: opt docs style
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyunWan committed Nov 26, 2024
1 parent ed80b97 commit e91933a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/docusaurus/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
cursor: pointer !important;
}

.headerlink {
display: none;
}

/* Sidebar Style */
.thin-scrollbar {
padding: 0 !important;
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus/src/theme/DocSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function DocSidebarWrapper(props: Props): JSX.Element {
</div>
</Cascader>

<Tooltip title={getPlaceholderByLanguage(getCurrentLanguage())}>
<Tooltip title={getPlaceholderByLanguage(getCurrentLanguage())} trigger={['hover', 'click']} >
<div className="searchWrapper">
<DocSearch
{...{
Expand Down

0 comments on commit e91933a

Please sign in to comment.