diff --git a/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.html b/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.html index 4c1a6244fc..b5c3e10299 100644 --- a/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.html +++ b/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.html @@ -1,3 +1,8 @@ \ No newline at end of file diff --git a/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.scss b/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.scss index d1c217f724..cd1692e69d 100644 --- a/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.scss +++ b/apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.scss @@ -5,26 +5,30 @@ } .daffio-docs-table-of-contents { - display: flex; - flex-direction: column; - gap: 4px; max-height: 100vh; overflow: auto; position: sticky; top: calc(var(--daff-sidebar-side-fixed-top-shift) + 48px); + &__title { + @include daff.embolden(); + margin: 0 0 24px; + } + + &__links { + display: flex; + flex-direction: column; + gap: 8px; + } + &__item { display: block; font-size: 1rem; line-height: 1.25rem; text-decoration: none; - &:first-of-type { - @include daff.embolden(); - margin: 0 0 24px; - } - &--level-1 { + display: none; padding: 0; }