mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Fix scrolling and hover issues on tablet
This commit is contained in:
@@ -269,7 +269,7 @@ export default class Coriolis extends React.Component {
|
||||
|
||||
window.onerror = this._onError.bind(this);
|
||||
window.addEventListener('resize', () => this.emitter.emit('windowResize'));
|
||||
document.body.addEventListener('scroll', () => this._tooltip());
|
||||
document.getElementById('coriolis').addEventListener('scroll', () => this._tooltip());
|
||||
document.addEventListener('keydown', this._keyDown);
|
||||
Persist.addListener('language', this._onLanguageChange);
|
||||
Persist.addListener('sizeRatio', this._onSizeRatioChange);
|
||||
|
||||
@@ -47,7 +47,7 @@ tbody tr {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.no-touch &.highlight:hover {
|
||||
.no-touch &.highlight:hover, .no-touch &.highlighted {
|
||||
background-color: @warning-bg;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user