diff --git a/src/frontend/styles/components/table-of-content.pcss b/src/frontend/styles/components/table-of-content.pcss index bf26ba4..efd5ea7 100644 --- a/src/frontend/styles/components/table-of-content.pcss +++ b/src/frontend/styles/components/table-of-content.pcss @@ -1,10 +1,4 @@ .table-of-content { - position: sticky; - max-height: 100vh; - overflow-y: auto; - - margin-top: 30px; - top: 30px; width: 300px; border-left: 1px solid #E8E8EB; padding-left: 22px; diff --git a/src/frontend/styles/layout.pcss b/src/frontend/styles/layout.pcss index be5fd76..c98e374 100644 --- a/src/frontend/styles/layout.pcss +++ b/src/frontend/styles/layout.pcss @@ -38,6 +38,12 @@ } &__aside-right { + position: sticky; + max-height: 100vh; + overflow-y: auto; + + top: var(--layout-height-header); + @media (--mobile) { display: none; }