Skip to content

Commit 0f21ff8

Browse files
CSS hack to fix scroll to anchor
as per jhildenbiddle/docsify-tabs#61
1 parent 65ff9e2 commit 0f21ff8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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)