mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 15:07:17 +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
|
@ -79,7 +79,6 @@ const DocItemSchema = NavbarItemBaseSchema.append({
|
|||
type: Joi.string().equal('doc').required(),
|
||||
docId: Joi.string().required(),
|
||||
docsPluginId: Joi.string(),
|
||||
activeSidebarClassName: Joi.string().default('navbar__link--active'),
|
||||
});
|
||||
|
||||
const itemWithType = (type) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue