mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
fix: apply proper class for active doc item on mobiles + avoid duplicated classes (#5264)
* fix: apply proper class for active doc item on mobiles * Fixes after review
This commit is contained in:
parent
2360c592ab
commit
2c0b82e7ab
6 changed files with 9 additions and 9 deletions
|
@ -351,7 +351,6 @@ Accepted fields:
|
|||
| `docId` | `string` | The ID of the doc that this item links to. | Yes | |
|
||||
| `label` | `string` | The name to be shown for this item. | No | `docId` |
|
||||
| `position` | <code>'left' | 'right'</code> | The side of the navbar this item should appear on. | No | `'left'` |
|
||||
| `activeSidebarClassName` | `string` | The CSS class name to apply when this doc's sidebar is active. | No | `'navbar__link--active'` |
|
||||
| `docsPluginId` | `string` | The ID of the docs plugin that the doc belongs to. | No | `'default'` |
|
||||
|
||||
Example configuration:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue