Skip to content

Commit

Permalink
[ML] Hide selector helper in Anomaly Explorer swimlane (elastic#65522) (
Browse files Browse the repository at this point in the history
elastic#65649)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
darnautov and elasticmachine committed May 7, 2020
1 parent 49feeb3 commit a15ced2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/plugins/ml/public/application/explorer/_explorer.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.ml-swimlane-selector {
visibility: hidden;
}

.ml-explorer {
width: 100%;
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/ml/public/application/explorer/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export class Explorer extends React.Component {
disableDragSelectOnMouseLeave = true;

dragSelect = new DragSelect({
selectorClass: 'ml-swimlane-selector',
selectables: document.getElementsByClassName('sl-cell'),
callback(elements) {
if (elements.length > 1 && !ALLOW_CELL_RANGE_SELECTION) {
Expand Down

0 comments on commit a15ced2

Please sign in to comment.