Skip to content

Commit

Permalink
[Fleet] Fix aligment logstash copy API key tooltip (elastic#130815)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored and kertal committed May 24, 2022
1 parent 6e46f9e commit f102f46
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ const LogstashInstructionSteps = () => {
<EuiCodeBlock paddingSize="m">
<h5>API Key</h5>
{logstashApiKey.apiKey}
<EuiCopy textToCopy={logstashApiKey.apiKey}>
{(copy) => (
<div className="euiCodeBlock__controls">
<div className="euiCodeBlock__copyButton">

<div className="euiCodeBlock__controls">
<div className="euiCodeBlock__copyButton">
<EuiCopy textToCopy={logstashApiKey.apiKey}>
{(copy) => (
<EuiButtonIcon
onClick={copy}
iconType="copyClipboard"
Expand All @@ -126,10 +127,10 @@ const LogstashInstructionSteps = () => {
}
)}
/>
</div>
</div>
)}
</EuiCopy>
)}
</EuiCopy>
</div>
</div>
</EuiCodeBlock>
) : (
<EuiButton
Expand Down

0 comments on commit f102f46

Please sign in to comment.