mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Sticky Code: fix on Beam
This commit is contained in:
@@ -63,7 +63,7 @@ export function useStickyCodeOverlay(options?: UseStickyCodeOverlayOptions) {
|
||||
overlay.style.position = 'fixed';
|
||||
overlay.style.top = `${stickyThreshold}px`;
|
||||
overlay.style.right = `${window.innerWidth - containerRect.right}px`;
|
||||
overlay.style.zIndex = '10';
|
||||
overlay.style.zIndex = '1';
|
||||
} else if (overlay.style.position === 'fixed') {
|
||||
resetToNormalPosition();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user