refactor: change height and add condition on prevent default
This commit is contained in:
parent
fc9c75de2c
commit
98be3f46f3
2 changed files with 6 additions and 2 deletions
|
|
@ -134,7 +134,11 @@ export default class Grid {
|
|||
} else {
|
||||
scroll_bar.scrollLeft(scroll_bar.scrollLeft() + delta * 4);
|
||||
}
|
||||
e.preventDefault();
|
||||
|
||||
// prevent default behaviour when it is scrolled horizontally
|
||||
if (e.originalEvent.deltaX != 0) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
let touchStartX = 0;
|
||||
let touchMoveX = 0;
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@
|
|||
}
|
||||
}
|
||||
.data-row div[data-fieldname="options"] {
|
||||
height: 39px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue