Skip to content

Commit df3d0dd

Browse files
committed
Merge branch 'main' of github.com:dd3tech/bui-docs
2 parents 45d35e3 + 206425f commit df3d0dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Layout/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function Layout({ children }: { children: JSX.Element }) {
100100
'md:flex'
101101
)}
102102
>
103-
<SideBarDocs />
103+
<SideBarDocs setIsActiveButtonMobile={setIsActiveButtonMobile} />
104104
</div>
105105
<div
106106
id="layout-content"

src/hooks/useRelativePosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const initPosition = {
1313

1414
export default function useRelativePosition({
1515
basePosition = initPosition,
16-
containerId = 'container-doc'
16+
containerId = 'layout-content'
1717
}: UseRelativePositionProps) {
1818
const [position, setPosition] = useState(basePosition)
1919
const [targetRef, setTargetRef] = useState<any>(null)

0 commit comments

Comments
 (0)