@homebound/beam 2.319.0 → 2.319.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,7 @@ function ScrollShadows(props) {
|
|
|
20
20
|
// The shadow styles will rarely every change. Memoize them to avoid recomputing them when we don't have to.
|
|
21
21
|
const [startShadowStyles, endShadowStyles] = (0, react_1.useMemo)(() => {
|
|
22
22
|
const transparentBgColor = bgColor.replace(/,1\)$/, ",0)");
|
|
23
|
-
const commonStyles = src_1.Css.absolute.z3.$;
|
|
23
|
+
const commonStyles = src_1.Css.absolute.z3.add({ pointerEvents: "none" }).$;
|
|
24
24
|
const startShadowStyles = !horizontal ? src_1.Css.top0.left0.right0.hPx(40).$ : src_1.Css.left0.top0.bottom0.wPx(25).$;
|
|
25
25
|
const endShadowStyles = !horizontal ? src_1.Css.bottom0.left0.right0.hPx(40).$ : src_1.Css.right0.top0.bottom0.wPx(25).$;
|
|
26
26
|
const startGradient = `linear-gradient(${!horizontal ? 180 : 90}deg, ${bgColor} 0%, ${transparentBgColor} 92%);`;
|