Only render references when it's visible in the window viewport

This commit is contained in:
Tienson Qin
2022-05-09 06:48:31 +08:00
parent f29aea9e55
commit 3ca8228a74
6 changed files with 61 additions and 67 deletions

View File

@@ -1169,3 +1169,8 @@ html[data-theme='dark'] .keyboard-shortcut > code {
overflow: hidden;
text-overflow: ellipsis;
}
.lazy-visibility {
min-width: 1px;
min-height: 1px;
}