1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 13:19:42 +02:00

update layout

This commit is contained in:
Taly 2022-06-10 18:12:03 +03:00
parent f055395e9c
commit 18aad62257
2 changed files with 6 additions and 6 deletions

View file

@ -1,10 +1,4 @@
.table-of-content { .table-of-content {
position: sticky;
max-height: 100vh;
overflow-y: auto;
margin-top: 30px;
top: 30px;
width: 300px; width: 300px;
border-left: 1px solid #E8E8EB; border-left: 1px solid #E8E8EB;
padding-left: 22px; padding-left: 22px;

View file

@ -38,6 +38,12 @@
} }
&__aside-right { &__aside-right {
position: sticky;
max-height: 100vh;
overflow-y: auto;
top: var(--layout-height-header);
@media (--mobile) { @media (--mobile) {
display: none; display: none;
} }