Increase SCROLLBAR_SIZE to 16px
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FGiX1wXCY5UtSrmoKBhDQu
This commit is contained in:
1 file changed
+1
-1
@@ -38,7 +38,7 @@ interface TabLogsProps {
|
|||||||
|
|
||||||
const SCROLL_PIN_THRESHOLD_PX = 8;
|
const SCROLL_PIN_THRESHOLD_PX = 8;
|
||||||
const TAIL_POLL_MS = 10_000;
|
const TAIL_POLL_MS = 10_000;
|
||||||
const SCROLLBAR_SIZE = 10;
|
const SCROLLBAR_SIZE = 16;
|
||||||
|
|
||||||
const isScrolledToBottom = (el: HTMLElement) =>
|
const isScrolledToBottom = (el: HTMLElement) =>
|
||||||
el.scrollHeight - el.scrollTop - el.clientHeight <= SCROLL_PIN_THRESHOLD_PX;
|
el.scrollHeight - el.scrollTop - el.clientHeight <= SCROLL_PIN_THRESHOLD_PX;
|
||||||
|
|||||||
Reference in new issue
Block a user