From 48ee9b0a5e826d054885ed471f9ca982ae40c0db Mon Sep 17 00:00:00 2001 From: Taly Date: Thu, 16 Jun 2022 18:58:26 +0300 Subject: [PATCH] Revert "update layout" This reverts commit 18aad62257c76305a381db3a79822dd1e4bf6ba9. --- 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 efd5ea7..bf26ba4 100644 --- a/src/frontend/styles/components/table-of-content.pcss +++ b/src/frontend/styles/components/table-of-content.pcss @@ -1,4 +1,10 @@ .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 c98e374..be5fd76 100644 --- a/src/frontend/styles/layout.pcss +++ b/src/frontend/styles/layout.pcss @@ -38,12 +38,6 @@ } &__aside-right { - position: sticky; - max-height: 100vh; - overflow-y: auto; - - top: var(--layout-height-header); - @media (--mobile) { display: none; }