mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Db Flyout statement fix (#129387)
* fixes for i18 and overflow the code component * fixed the code component and removed a console.log
This commit is contained in:
parent
f41b53399c
commit
0caddf864e
2 changed files with 10 additions and 2 deletions
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue