fix(v2): restore hiding of docs toc (#2759)

This commit is contained in:
Alexey Pyltsyn 2020-05-17 10:45:14 +03:00 committed by GitHub
parent 3a2f150093
commit 1fe2dc192e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,10 @@ function DocItem(props) {
styles.docItemWrapper,
)}>
<div className="row">
<div className={classnames('col', styles.docItemCol)}>
<div
className={classnames('col', {
[styles.docItemCol]: !hideTableOfContents,
})}>
<div className={styles.docItemContainer}>
<article>
{version && (