diff --git a/bot/static/index.html b/bot/static/index.html index 1443b59..01be1e6 100644 --- a/bot/static/index.html +++ b/bot/static/index.html @@ -1895,6 +1895,17 @@ document.addEventListener('DOMContentLoaded', function() { loadProfilePictureMetadata(); initLogsScrollDetection(); // Set up log auto-scroll tracking + // Enable mouse wheel horizontal scrolling on tab bar + const tabButtonsEl = document.querySelector('.tab-buttons'); + if (tabButtonsEl) { + tabButtonsEl.addEventListener('wheel', function(e) { + if (e.deltaY !== 0) { + e.preventDefault(); + tabButtonsEl.scrollLeft += e.deltaY; + } + }, { passive: false }); + } + // Set up periodic updates setInterval(loadStatus, 10000); setInterval(loadLogs, 5000);