mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 05:09:41 +02:00
update layout
This commit is contained in:
parent
f055395e9c
commit
18aad62257
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue