Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SIEM] Fix IE11 timeline drag and drop issue #50528

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[SIEM] Fix IE11 timeline drag and drop issue
patrykkopycinski committed Nov 13, 2019

Verified

This commit was signed with the committer’s verified signature.
ExplodingDragon Exploding Dragon
commit 1370efe90e635871c1ba745f63a5fde30b524f17
Original file line number Diff line number Diff line change
@@ -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>
@@ -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
@@ -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;
`;