Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lens] Fix styling popover controls #202865

Merged
merged 8 commits into from
Dec 12, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import React from 'react';
import { i18n } from '@kbn/i18n';
import { css } from '@emotion/react';
import { EuiFormRow, EuiIconTip, EuiSuperSelect, EuiSwitch, EuiText } from '@elastic/eui';
import type { FittingFunction, EndValue } from '@kbn/expression-xy-plugin/common';
import { FittingFunctions } from '@kbn/expression-xy-plugin/public';
Expand Down Expand Up @@ -88,6 +89,9 @@ export const MissingValuesOptions: React.FC<MissingValuesOptionProps> = ({
{fittingFunction && fittingFunction !== FittingFunctions.NONE && (
<>
<EuiFormRow
css={css`
max-inline-size: none !important;
`}
Ajay-Satish-01 marked this conversation as resolved.
Show resolved Hide resolved
display="columnCompressed"
label={i18n.translate('xpack.lens.xyChart.endValuesLabel', {
defaultMessage: 'End values',
Expand Down Expand Up @@ -117,6 +121,9 @@ export const MissingValuesOptions: React.FC<MissingValuesOptionProps> = ({
/>
</EuiFormRow>
<EuiFormRow
css={css`
max-inline-size: none !important;
`}
Ajay-Satish-01 marked this conversation as resolved.
Show resolved Hide resolved
label={i18n.translate('xpack.lens.xyChart.missingValuesStyle', {
defaultMessage: 'Show as dotted line',
})}
Expand Down