mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 21:16:59 +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
|
@ -108,7 +108,6 @@ describe('themeConfig', () => {
|
|||
position: 'left',
|
||||
docId: 'intro',
|
||||
label: 'Introduction',
|
||||
activeSidebarClassName: 'custom-class',
|
||||
},
|
||||
// Regular link
|
||||
{
|
||||
|
@ -142,7 +141,6 @@ describe('themeConfig', () => {
|
|||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
activeSidebarClassName: 'custom-class',
|
||||
docId: 'npm',
|
||||
label: 'NPM',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue