Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(website): fix scrolling of docs sidebar when longer than screen h…
…eight (#556)
- Loading branch information
cfraz89
committed
Oct 12, 2022
1 parent
526ee97
commit 60ebcd4
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
apps/website/src/theme/DocSidebar/Desktop/Content/index.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
); | ||
} |