Skip to content

Commit fc33d44

Browse files
committed
update: top position sticky
1 parent 2095076 commit fc33d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/theme/TOC/styles.module.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.tableOfContents {
22
height: calc(100vh - var(--ifm-navbar-height) + 80px);
33
position: sticky;
4-
top: calc(var(--ifm-navbar-height));
4+
/* top: calc(var(--ifm-navbar-height)); */
5+
top: 0;
56
border-left: 1px solid var(--primary-neutral-200);
67
overflow-y: auto;
78
}

0 commit comments

Comments
 (0)