Fix sidebar jank on desktop.

This commit is contained in:
Josh
2020-12-18 21:18:55 -05:00
committed by Rapptz
parent 7038c5af8b
commit 07ec9bc370
2 changed files with 10 additions and 1 deletions
+1 -1
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;
}