From a0da3b564f80c5b0d4262c0c46c2d87bc9c06bc1 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Sun, 26 Jan 2025 13:32:57 -0800 Subject: [PATCH] Beam: fix z-index --- src/modules/beam/scatter/BeamRay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/beam/scatter/BeamRay.tsx b/src/modules/beam/scatter/BeamRay.tsx index b6fd6ba69..eb4e61a3c 100644 --- a/src/modules/beam/scatter/BeamRay.tsx +++ b/src/modules/beam/scatter/BeamRay.tsx @@ -53,7 +53,7 @@ export const rayControlsMobileSx: SxProps = { position: 'sticky', top: 0, bottom: 64, // looks (absorb parent padding, and overwrite with color and zIndex to stay on top) - zIndex: 1, + zIndex: 2, // because 'Chip' component have a zIndex of 1 in the inner label backgroundColor: 'inherit', mx: 'calc(-1 * var(--Card-padding))', px: 'var(--Card-padding)',