Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
123456789101112131415/** * Whether scrollbars float over the content and fade in when it moves (macOS, * phones), rather than holding a gutter beside it (Chrome on Linux and * Windows). Hiding a floating one costs no layout. */export const overlayScrollbars = (() => { const probe = document.createElement('div'); probe.style.cssText = 'position: absolute; top: -100px; width: 50px; height: 50px; overflow: scroll; scrollbar-width: thin'; document.body.append(probe); const overlay = probe.offsetWidth === probe.clientWidth; probe.remove(); return overlay;})();