Fix sidebar jank on desktop.

This commit is contained in:
Josh
2020-07-23 13:35:51 +10:00
committed by GitHub
parent 41153d6d90
commit 9cbb801fb0
2 changed files with 10 additions and 1 deletions

View File

@@ -1093,7 +1093,7 @@ div.code-block-caption {
display: inline-block;
position: sticky;
top: 1em;
max-height: calc(100vh - 1em);
max-height: calc(100vh - 2em);
overflow-y: auto;
margin: 1em;
}