Skip to content

Commit

Permalink
fix: keep the DocItem layout as is when toc is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jun 9, 2023
1 parent 3465df4 commit baadbfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function DocItemLayout({ children }) {

return (
<div className={clsx('row', styles.docItemGrid)}>
<div className={clsx(!docTOC.hidden && styles.docItemCol)}>
<div className={clsx(styles.docItemCol)}>
<DocVersionBanner />
<div className={styles.docItemContainer}>
<article>
Expand Down

0 comments on commit baadbfa

Please sign in to comment.