Skip to content

Commit

Permalink
[APM] Db Flyout statement fix (#129387)
Browse files Browse the repository at this point in the history
* fixes for i18 and overflow the code component

* fixed the code component and removed a console.log
  • Loading branch information
boriskirov authored Apr 4, 2022
1 parent f41b533 commit 0caddf8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ export function SpanDatabase({ spanDb }: Props) {
</h3>
</EuiTitle>
<EuiSpacer size="s" />
<EuiCodeBlock language="sql" fontSize="m" paddingSize="m">
<EuiCodeBlock
language="sql"
fontSize="m"
paddingSize="m"
overflowHeight={150}
>
{spanDb.statement}
</EuiCodeBlock>
<EuiSpacer size="m" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export function MetadataTable({ sections, isLoading }: Props) {
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiLink href={docLinks.links.apm.metaData} target="_blank">
<EuiIcon type="help" /> How to add labels and other data
<EuiIcon type="help" />
{i18n.translate('xpack.apm.metadata.help', {
defaultMessage: 'How to add labels and other data',
})}
</EuiLink>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down

0 comments on commit 0caddf8

Please sign in to comment.