Skip to content

Commit

Permalink
fix aside active marker
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Aug 16, 2024
1 parent 314080e commit 0861506
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion website/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@

/* Improve the page outline aside. "On this page" is redundant IMO. */

.VPDocAsideOutline .content {
/* Because we can only hide, not remove (none) the title, it appears as an extended top boarder, just remove the border completely to fix that. */
border: none;
}

.outline-title {
display: none;
/* If we make it display:none then we break the active border indicator alignment. So just visually hide. */
opacity: 0;
margin-top: -1.5rem;
}

0 comments on commit 0861506

Please sign in to comment.