Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Commit 335af92

Browse files
CSS hack to fix scroll to anchor (#877)
as per jhildenbiddle/docsify-tabs#61
1 parent 65ff9e2 commit 335af92

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,16 @@
384384
opacity: 0.5;
385385
}
386386
}
387+
388+
/* css hack to fix scroll to anchor in docsify tabs */
389+
.docsify-tabs:not(:has(> button.docsify-tabs__tab--active))>.docsify-tabs__content[class]:nth-child(2) {
390+
visibility: visible;
391+
position: relative;
392+
overflow: auto;
393+
height: auto;
394+
395+
padding: var(--docsifytabs-content-padding);
396+
}
387397
</style>
388398
<script>
389399
/* Add word break opportunity after function opening parentheses */

0 commit comments

Comments
 (0)