Skip to content

Commit

Permalink
[Fleet] Fix aligment logstash copy API key tooltip (#130815)
Browse files Browse the repository at this point in the history
(cherry picked from commit ee1e2bb)
  • Loading branch information
nchaulet committed Apr 21, 2022
1 parent 9ee2321 commit 3086fa1
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 3086fa1

Please sign in to comment.