Skip to content

Commit

Permalink
fix-gitbook-toc-float-drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Jun 26, 2023
1 parent 3cc1de1 commit b404ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/gitbook/LayoutBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const LayoutBase = (props) => {

</main>

{showTocButton && !tocVisible && <div className='fixed right-0 bottom-52 z-30 bg-white border-l border-t border-b dark:border-gray-800 rounded'>
{showTocButton && !tocVisible && <div className='md:hidden fixed right-0 bottom-52 z-30 bg-white border-l border-t border-b dark:border-gray-800 rounded'>
<FloatTocButton {...props}/>
</div>}

Expand Down

0 comments on commit b404ecf

Please sign in to comment.