Skip to content

Commit

Permalink
👌 Integrated design feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Oct 24, 2022
1 parent c4a2b12 commit 45eb2f9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { EuiFormRow, EuiToolTip, EuiRange, EuiBetaBadge } from '@elastic/eui';
import { EuiFormRow, EuiRange, EuiBetaBadge } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import React from 'react';
import type { DatasourceLayerSettingsProps } from '../../types';
Expand All @@ -29,27 +29,22 @@ export function LayerSettingsPanel({
defaultMessage: 'Change the sampling probability to see how your chart is affected',
})}
label={
<span>
<>
{i18n.translate('xpack.lens.xyChart.randomSampling.label', {
defaultMessage: 'Sampling',
})}{' '}
<EuiToolTip
content={i18n.translate('xpack.lens.randomSampling.experimentalLabel', {
<EuiBetaBadge
label={i18n.translate('xpack.lens.randomSampling.experimentalLabel', {
defaultMessage: 'Technical preview',
})}
delay="long"
position="top"
>
<EuiBetaBadge
label={i18n.translate('xpack.lens.randomSampling.experimentalLabel', {
defaultMessage: 'Technical preview',
})}
color="hollow"
iconType="beaker"
size="s"
/>
</EuiToolTip>
</span>
color="hollow"
iconType="beaker"
size="s"
tooltipContent={i18n.translate('xpack.lens.randomSampling.experimentalLabel', {
defaultMessage: 'Technical preview',
})}
/>
</>
}
>
<EuiRange
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.lnsBody--overflowHidden {
overflow: hidden;
}

.lnsLayerAddButton:hover {
text-decoration: none;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,12 @@ export function FlyoutContainer({
id="lnsDimensionContainerTitle"
className="lnsDimensionContainer__headerTitle"
>
<strong>
{i18n.translate('xpack.lens.configure.configurePanelTitle', {
defaultMessage: '{groupLabel}',
values: {
groupLabel,
},
})}
</strong>
{i18n.translate('xpack.lens.configure.configurePanelTitle', {
defaultMessage: '{groupLabel}',
values: {
groupLabel,
},
})}
</h2>
</EuiTitle>
</EuiFlexItem>
Expand Down

0 comments on commit 45eb2f9

Please sign in to comment.