Skip to content

Commit

Permalink
🐛 drop height of left-hand-container to fix scroll height (tinacms#2816)
Browse files Browse the repository at this point in the history
* drop height of left-hand-container

* fix % height

* drop %
  • Loading branch information
joshbermanssw authored Jan 31, 2025
1 parent d196572 commit 1cbbe9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,15 @@ export const DocsSearchBarHeader = ({

export const LeftHandSideParentContainer = ({ tableOfContents }) => {
return (
<div className="rounded-2xl shadow-xl w-full bg-white/50">
<div className="rounded-2xl shadow-xl w-full bg-white/50 h-5/6">
<DocsSearchBarHeader
paddingGlobal="p-4"
headerColour="blue"
headerPadding="pl-4"
searchMargin="mx-3"
searchBarPadding=""
/>
<div className="overflow-y-scroll overflow-x-hidden max-h-[62vh] 2xl:max-h-[75vh] pl-4 2xl:pl-0">
<div className="overflow-y-scroll overflow-x-hidden h-[76%] 2xl:max-h-[75vh] pl-4 2xl:pl-0">
<DocsNavigationList navItems={tableOfContents} />
</div>
</div>
Expand Down

0 comments on commit 1cbbe9a

Please sign in to comment.