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:
Alexey Pyltsyn 2021-08-04 16:29:10 +03:00 committed by GitHub
parent 2360c592ab
commit 2c0b82e7ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -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',
},