diff --git a/x-pack/plugins/security_solution/public/common/lib/clipboard/with_copy_to_clipboard.tsx b/x-pack/plugins/security_solution/public/common/lib/clipboard/with_copy_to_clipboard.tsx
index bec1b296d4854..1baa57166de3f 100644
--- a/x-pack/plugins/security_solution/public/common/lib/clipboard/with_copy_to_clipboard.tsx
+++ b/x-pack/plugins/security_solution/public/common/lib/clipboard/with_copy_to_clipboard.tsx
@@ -7,22 +7,12 @@
import { EuiToolTip } from '@elastic/eui';
import React from 'react';
-import styled from 'styled-components';
import { TooltipWithKeyboardShortcut } from '../../components/accessibility/tooltip_with_keyboard_shortcut';
import * as i18n from '../../components/drag_and_drop/translations';
import { Clipboard } from './clipboard';
-const WithCopyToClipboardContainer = styled.div`
- align-items: center;
- display: flex;
- flex-direction: row;
- user-select: text;
-`;
-
-WithCopyToClipboardContainer.displayName = 'WithCopyToClipboardContainer';
-
/**
* Renders `children` with an adjacent icon that when clicked, copies `text` to
* the clipboard and displays a confirmation toast
@@ -31,7 +21,7 @@ export const WithCopyToClipboard = React.memo<{
keyboardShortcut?: string;
text: string;
titleSummary?: string;
-}>(({ keyboardShortcut = '', text, titleSummary, children }) => (
+}>(({ keyboardShortcut = '', text, titleSummary }) => (
}
>
-
- <>{children}>
-
-
+
));
diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/pinned_tab_content/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/pinned_tab_content/index.tsx
index dfc14747dacf3..a3fd991da5782 100644
--- a/x-pack/plugins/security_solution/public/timelines/components/timeline/pinned_tab_content/index.tsx
+++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/pinned_tab_content/index.tsx
@@ -62,11 +62,7 @@ const StyledEuiFlyoutFooter = styled(EuiFlyoutFooter)`
}
`;
-const ExitFullScreenFlexItem = styled(EuiFlexItem)`
- &.euiFlexItem {
- ${({ theme }) => `margin: ${theme.eui.euiSizeS} 0 0 ${theme.eui.euiSizeS};`}
- }
-
+const ExitFullScreenContainer = styled.div`
width: 180px;
`;
@@ -205,13 +201,15 @@ export const PinnedTabContentComponent: React.FC = ({
return (
<>
- {timelineFullScreen && setTimelineFullScreen != null && (
-
-
-
- )}
-
+ {timelineFullScreen && setTimelineFullScreen != null && (
+
+
+
+ )}