[Lens] Fixes edit configuration flyout display (#165675)

## Summary


Fixes a problem on the flyout ui (the black line on the right). I dont
think that this line is useful. Vertical scrolling works fine.

**Before**

<img width="1435" alt="image"
src="56868893-2aad-4118-a5c6-245b1111b735">


**Now**

<img width="1356" alt="image"
src="0f2d0e87-d60d-4507-8d68-accc0ba840ed">
This commit is contained in:
Stratoula Kalafateli 2023-09-20 14:34:37 +03:00 committed by GitHub
parent 8f89c405df
commit 8b215485f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,8 +100,8 @@ export function LensEditConfigurationFlyout({
<EuiFlyoutBody
className="lnsEditFlyoutBody"
css={css`
// styles needed to display extra drop targets that are outside of the config panel main area while also allowing to scroll vertically
overflow-y: scroll;
// styles needed to display extra drop targets that are outside of the config panel main area
overflow-y: auto;
padding-left: ${euiThemeVars.euiFormMaxWidth};
margin-left: -${euiThemeVars.euiFormMaxWidth};
pointer-events: none !important;