Skip to content

Commit

Permalink
[Fleet] Fix aligment logstash copy API key tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Apr 21, 2022
1 parent 9ce1546 commit ac691de
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 ac691de

Please sign in to comment.