Merge pull request #12679 from lunarway/feature/techdocs-nav-highlight
Add highlight to active techdocs navigation item and parents
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Add highlight to active navigation item and navigation parents.
|
||||
@@ -49,6 +49,11 @@ export default ({ theme, sidebar }: RuleOptions) => `
|
||||
height: 20px !important;
|
||||
}
|
||||
|
||||
.md-nav__item--active > .md-nav__link, a.md-nav__link--active {
|
||||
text-decoration: underline;
|
||||
color: var(--md-typeset-a-color);
|
||||
}
|
||||
|
||||
.md-main__inner {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user