mirror of
https://github.com/discourse/discourse.git
synced 2025-06-21 00:45:26 +08:00
Merge pull request #4768 from gsambrotta/fix-pr-4747
Delete disabled Category button: remove tooltip on hover on desktop
This commit is contained in:
@ -106,10 +106,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
toggleDeleteTooltip() {
|
toggleDeleteTooltip() {
|
||||||
// check if is touch device
|
this.toggleProperty('hiddenTooltip');
|
||||||
if ( $('html').hasClass('discourse-touch') ) {
|
|
||||||
this.toggleProperty('hiddenTooltip');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,13 +129,6 @@
|
|||||||
right: 4px;
|
right: 4px;
|
||||||
max-width: 380px;
|
max-width: 380px;
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include hover {
|
|
||||||
.cannot_delete_reason {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user