mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
fix: mobile navigation should show deepest breadcrumb instead of outermost (#1493)
This commit is contained in:
parent
89582c7b7a
commit
382b88bb49
1 changed files with 4 additions and 1 deletions
|
@ -143,7 +143,10 @@ class SideNav extends React.Component {
|
|||
<h2>
|
||||
<i>›</i>
|
||||
<span>
|
||||
{this.getLocalizedCategoryString(this.props.current.category)}
|
||||
{this.getLocalizedCategoryString(
|
||||
this.props.current.subcategory ||
|
||||
this.props.current.category,
|
||||
)}
|
||||
</span>
|
||||
</h2>
|
||||
{siteConfig.onPageNav === 'separate' && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue