diff --git a/assets/css/index.css b/assets/css/index.css index ec86e95f8b..4977165469 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -102,6 +102,11 @@ select { @apply relative block text-redis-pen-600 hover:text-redis-pen-300 -my-0.5 py-1 pl-6 transition-colors leading-6; } +/* Increase indentation for deeper nested items */ +#TableOfContents ul ul a { + @apply pl-10; /* Second level */ +} + #TableOfContents a:before { content: ''; @apply w-1 h-full bg-redis-pencil-250 absolute left-0 top-0 rounded-sm transition; diff --git a/layouts/partials/docs-toc.html b/layouts/partials/docs-toc.html index 8d65544f8e..3ecbf62f4e 100644 --- a/layouts/partials/docs-toc.html +++ b/layouts/partials/docs-toc.html @@ -17,13 +17,25 @@

On this page