Skip to content

Self-hosted AI workspace.

Python

fix(modalSnap): adjust edge dock stripe z-index

TimHoogervorst21c3d152425e
diff --git a/static/js/modalSnap.js b/static/js/modalSnap.js
index e7cce55dd..218fd3500 100644
--- a/static/js/modalSnap.js
+++ b/static/js/modalSnap.js
@@ -994,7 +994,7 @@ export function makeEdgeDockController(modal, side = 'right', dockClass) {
stripe.style.bottom = '0';
stripe.style.width = '10px';
stripe.style.cursor = 'col-resize';
- stripe.style.zIndex = '9999';
+ stripe.style.zIndex = '261';
stripe.style.background = 'linear-gradient(to right, transparent 0 3px, color-mix(in srgb, var(--accent, var(--red)) 35%, transparent) 3px 7px, transparent 7px 10px)';
stripe.style.pointerEvents = 'auto';
stripe.style.touchAction = 'none';