We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53cdc38 commit c3198dbCopy full SHA for c3198db
index.html
@@ -370,7 +370,7 @@ <h2 class="color-1 weight-title-h font-title section__title center">A codeful of
370
const elemTop = rect.top;
371
const elemBottom = rect.bottom;
372
373
- const height = 51.4; // el.clientHeight;
+ const height = 51.4 / 2; // el.clientHeight;
374
375
const isVisible = (elemTop + height + 20) < window.innerHeight;
376
0 commit comments