Merge pull request #12679 from lunarway/feature/techdocs-nav-highlight

Add highlight to active techdocs navigation item and parents
This commit is contained in:
Ben Lambert
2022-07-27 16:53:49 +02:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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;
}