Fix sidebar jank on desktop.

This commit is contained in:
Josh authored and Rapptz committed 2020-12-18 21:18:55 -05:00
1 parent 7038c5af8b
commit 07ec9bc370
2 files changed
+10 -1

No files matched your search

+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;
}