From 18aad62257c76305a381db3a79822dd1e4bf6ba9 Mon Sep 17 00:00:00 2001 From: Taly Date: Fri, 10 Jun 2022 18:12:03 +0300 Subject: [PATCH] update layout --- src/frontend/styles/components/table-of-content.pcss | 6 ------ src/frontend/styles/layout.pcss | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) 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; }