Skip to content

Commit

Permalink
fix text field icon margin
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jun 20, 2024
1 parent 1e1e35b commit 94f390e
Showing 1 changed file with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,26 @@ export const useColumns = (
/>
)}
{type === SIGNIFICANT_ITEM_TYPE.LOG_PATTERN && (
<EuiIconTip
type="aggregate"
data-test-subj={'aiopsLogPatternIcon'}
css={{ marginLeft: euiTheme.euiSizeS, marginRight: euiTheme.euiSizeXS }}
size="m"
content={i18n.translate(
'xpack.aiops.fieldContextPopover.descriptionTooltipLogPattern',
{
defaultMessage:
'The field value for this field shows an example of the identified significant text field pattern.',
}
)}
/>
<span
// match the margins of the FieldStatsPopover button
css={{
marginLeft: euiTheme.euiSizeS,
marginRight: euiTheme.euiSizeXS,
}}
>
<EuiIconTip
type="aggregate"
data-test-subj={'aiopsLogPatternIcon'}
size="m"
content={i18n.translate(
'xpack.aiops.fieldContextPopover.descriptionTooltipLogPattern',
{
defaultMessage:
'The field value for this field shows an example of the identified significant text field pattern.',
}
)}
/>
</span>
)}

<span title={fieldName} className="eui-textTruncate">
Expand Down

0 comments on commit 94f390e

Please sign in to comment.