From f7d651353a31dd0de76d3eecf6197734c1852377 Mon Sep 17 00:00:00 2001 From: Akshat Sinha Date: Tue, 4 Nov 2025 18:22:31 +0530 Subject: [PATCH] Fix(ui):Fixed the docs whatever opened componenent section to be highlighted Signed-off-by: Akshat Sinha --- assets/scss/_sidebar-tree.scss | 1 + layouts/partials/head.html | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/scss/_sidebar-tree.scss b/assets/scss/_sidebar-tree.scss index a1e224f67..afc7da789 100644 --- a/assets/scss/_sidebar-tree.scss +++ b/assets/scss/_sidebar-tree.scss @@ -81,6 +81,7 @@ &.active { font-weight: $font-weight-bold; + color: $secondary; } } diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 488cca3a1..49f5b1d9e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -64,7 +64,12 @@ {{ end -}} */ -}} - + {{ define "algolia/head" -}} @@ -79,4 +84,4 @@ For details, see https://www.docsy.dev/docs/adding-content/search/#algolia-docsearch.` -}} {{ end -}} -{{ end -}} +{{ end -}} \ No newline at end of file