Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Add `box-sizing: border-box` to sticky TOC

Maximilian Roos7029e8df8b27
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index 163f5b736..be69442f3 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -275,6 +275,7 @@ table {
.toc-sticky {
position: sticky;
top: calc(var(--wt-header-height) + var(--wt-main-padding-top)); // Definitionally matches natural position
+ box-sizing: border-box; // Include padding/border in max-height calculation
border-radius: 0.5rem;
background-color: var(--wt-color-bg-elevated);
border: 1px solid var(--wt-color-border-subtle);