Skip to content

Commit

Permalink
[SIEM] Fix IE11 timeline drag and drop issue (#50528)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Nov 15, 2019
1 parent 3131dd4 commit eb0141d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const AddFilterToGlobalSearchBar = React.memo<OwnProps>(
return (
<WithHoverActions
hoverContent={
<HoverActionsContainer data-test-subj="hover-actions-container">
<HoverActionsContainer data-test-subj="hover-actions-container" paddingSize="none">
<EuiToolTip content={i18n.FILTER_FOR_VALUE}>
<EuiIcon data-test-subj="add-to-filter" type="filter" onClick={addToKql} />
</EuiToolTip>
Expand All @@ -51,11 +51,11 @@ export const HoverActionsContainer = styled(EuiPanel)`
align-items: center;
display: flex;
flex-direction: row;
height: 25px;
height: 34px;
justify-content: center;
left: 5px;
position: absolute;
top: -10px;
width: 30px;
width: 34px;
cursor: pointer;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,22 @@ PanelProviders.displayName = 'PanelProviders';
const PanelProvidersGroupContainer = styled(EuiFlexGroup)`
position: relative;
flex-grow: unset;
.euiFlexItem {
flex: 1 0 auto;
}
.euiFlexItem--flexGrowZero {
flex: 0 0 auto;
}
`;

PanelProvidersGroupContainer.displayName = 'PanelProvidersGroupContainer';

/** A row of data providers in the timeline drop zone */
const PanelProviderGroupContainer = styled(EuiFlexGroup)`
height: ${ROW_OF_DATA_PROVIDERS_HEIGHT}px;
min-height: ${ROW_OF_DATA_PROVIDERS_HEIGHT}px;
margin: 5px 0px;
`;

Expand Down

0 comments on commit eb0141d

Please sign in to comment.