mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
fix: keep page outline indicator straight
This commit is contained in:
+14
-1
@@ -19,10 +19,23 @@ body {
|
||||
margin-inline-start: 0.53125rem;
|
||||
}
|
||||
|
||||
#nd-toc > div > div > a > svg {
|
||||
#nd-toc > div > div > a > svg,
|
||||
#nd-toc > div > div > div.absolute {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Keep every active segment on one x-axis, even when labels are indented. */
|
||||
#nd-toc > div > div > a[data-active="true"]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset-block: -0.375rem;
|
||||
inset-inline-start: 0.5rem;
|
||||
width: 1px;
|
||||
background: var(--color-fd-primary);
|
||||
border-radius: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Mintlify-style section labels: headings, not expandable folder controls. */
|
||||
#nd-sidebar p.inline-flex.items-center.gap-2 {
|
||||
margin-block: 1.15rem 0.35rem;
|
||||
|
||||
Reference in New Issue
Block a user