Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21913ba053 | ||
|
|
eeed7dfa5e | ||
|
|
14eac9f1c5 | ||
|
|
84f7a6e512 | ||
|
|
c1b830e2da | ||
|
|
734ebd3dfd | ||
|
|
ff79c41195 | ||
|
|
7ed0b3dc92 |
@@ -38,7 +38,7 @@ interface TabLogsProps {
|
||||
|
||||
const SCROLL_PIN_THRESHOLD_PX = 8;
|
||||
const TAIL_POLL_MS = 10_000;
|
||||
const SCROLLBAR_SIZE = 16;
|
||||
const SCROLLBAR_SIZE = 14;
|
||||
|
||||
const isScrolledToBottom = (el: HTMLElement) =>
|
||||
el.scrollHeight - el.scrollTop - el.clientHeight <= SCROLL_PIN_THRESHOLD_PX;
|
||||
|
||||
Reference in new issue
Block a user