fixed mobile menus, page spacing, horizontal scroll, .toc-wrapper

This commit is contained in:
Xanazf 2024-10-12 18:38:00 +03:00
parent 2b1f9f3bb2
commit 0df624df40
Signed by: Xanazf
GPG key ID: 4E4A5AD1FB748427
9 changed files with 76 additions and 68 deletions

View file

@ -6,7 +6,6 @@
& [data-part="item"] {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
padding-left: 0.15rem;
}
}
@ -18,7 +17,7 @@
cursor: pointer;
font-size: 1rem;
width: 100%;
height: 2.2rem;
min-height: 2.2rem;
display: flex;
justify-content: flex-start;
align-items: center;
@ -80,7 +79,7 @@ html.dark .nav-shevron {
transition: background-color 0.2s ease;
&:hover {
background-color: hsl(var(--nav-hovered-bkg))
background-color: hsl(var(--nav-hovered-bkg));
}
&>a {
@ -93,8 +92,8 @@ html.dark .nav-shevron {
}
}
& .arktree-item.__current-type-doc,
[data-part="item-content"]>div.__current-type-doc {
& .arktree-item.__current-type-doc,
[data-part="item-content"]>div.__current-type-doc {
background-color: hsl(var(--nav-selected-bkg));
&>a {