Skip to content

Commit

Permalink
fix(website): fix scrolling of docs sidebar when longer than screen h…
Browse files Browse the repository at this point in the history
…eight (#556)
  • Loading branch information
cfraz89 committed Oct 12, 2022
1 parent 526ee97 commit 60ebcd4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions apps/website/src/theme/DocSidebar/Desktop/Content/index.js

This file was deleted.

10 changes: 10 additions & 0 deletions apps/website/src/theme/DocSidebar/Desktop/index.js
@@ -0,0 +1,10 @@
import React from "react";
import Desktop from "@theme-original/DocSidebar/Desktop";

export default function DesktopWrapper(props) {
return (
<div className="mt-1 [&>div]:!block [&>div]:!max-h-full">
<Desktop {...props} />
</div>
);
}

0 comments on commit 60ebcd4

Please sign in to comment.