diff --git a/src/components/flyout/__snapshots__/flyout_body.test.tsx.snap b/src/components/flyout/__snapshots__/flyout_body.test.tsx.snap index 21f973c4f0d..e3320aa1911 100644 --- a/src/components/flyout/__snapshots__/flyout_body.test.tsx.snap +++ b/src/components/flyout/__snapshots__/flyout_body.test.tsx.snap @@ -7,7 +7,7 @@ exports[`EuiFlyoutBody is rendered 1`] = ` data-test-subj="test subject string" >
{ const direction = _direction || 'y'; const side = _side || 'both'; - const hideHeight = `calc(${size.base} * 0.75 * 1.25)`; + const hideHeight = size.s; const gradientStart = ` ${transparentize('red', 0.1)} 0%, ${transparentize('red', 1)} ${hideHeight} diff --git a/src/global_styling/utility/__snapshots__/utility.test.tsx.snap b/src/global_styling/utility/__snapshots__/utility.test.tsx.snap index 226a500895e..0e4d34bc34c 100644 --- a/src/global_styling/utility/__snapshots__/utility.test.tsx.snap +++ b/src/global_styling/utility/__snapshots__/utility.test.tsx.snap @@ -178,9 +178,9 @@ exports[`global utility styles generates static global styles 1`] = ` mask-image: linear-gradient(to bottom, rgba(255,0,0,0.1) 0%, - rgb(255,0,0) calc(16px * 0.75 * 1.25) + rgb(255,0,0) 8px , - rgb(255,0,0) calc(100% - calc(16px * 0.75 * 1.25)), + rgb(255,0,0) calc(100% - 8px), rgba(255,0,0,0.1) 100% ); ;} @@ -217,9 +217,9 @@ exports[`global utility styles generates static global styles 1`] = ` mask-image: linear-gradient(to right, rgba(255,0,0,0.1) 0%, - rgb(255,0,0) calc(16px * 0.75 * 1.25) + rgb(255,0,0) 8px , - rgb(255,0,0) calc(100% - calc(16px * 0.75 * 1.25)), + rgb(255,0,0) calc(100% - 8px), rgba(255,0,0,0.1) 100% ); ;}[class*='eui-showFor']{display:none!important;} diff --git a/upcoming_changelogs/6374.md b/upcoming_changelogs/6374.md new file mode 100644 index 00000000000..68219ad555c --- /dev/null +++ b/upcoming_changelogs/6374.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixed the shadow sizes of `.eui-yScrollWithShadows` and `.eui-xScrollWithShadows`