aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/src/layouts/components/SubpageLink.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-docs/src/layouts/components/SubpageLink.js')
-rw-r--r--server/sonar-docs/src/layouts/components/SubpageLink.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-docs/src/layouts/components/SubpageLink.js b/server/sonar-docs/src/layouts/components/SubpageLink.js
index 1d4746fb73f..163f6cd2dc2 100644
--- a/server/sonar-docs/src/layouts/components/SubpageLink.js
+++ b/server/sonar-docs/src/layouts/components/SubpageLink.js
@@ -24,11 +24,11 @@ import HeadingsLink from './HeadingsLink';
export default function SubpageLink({ node, headers, displayHeading }) {
return (
<div>
- <h3>
- <Link className={displayHeading ? 'active' : ''} to={node.fields.slug}>
- {node.frontmatter.title}
- </Link>
- </h3>
+ <Link
+ className={displayHeading ? 'sub-menu-link active' : 'sub-menu-link'}
+ to={node.fields.slug}>
+ {node.frontmatter.title}
+ </Link>
{displayHeading && <HeadingsLink headers={headers} />}
</div>
);