mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
reactions_tooltip : Improved responsiveness of tooltip for reactions.
Improved responsiveness of message reactions tooltip . Added css property for the reaction tooltip in ./static/js/click_handlers.js so that the tooltip doesn't exceed the sidebar . Adressed a comment in #15364 .
This commit is contained in:
committed by
Steve Howell
parent
cc4f35bfa8
commit
42b1ed23a9
@@ -228,7 +228,10 @@ exports.initialize = function () {
|
||||
animation: false,
|
||||
});
|
||||
elem.tooltip("show");
|
||||
$(".tooltip, .tooltip-inner").css("max-width", "600px");
|
||||
$(".tooltip, .tooltip-inner").css({
|
||||
"margin-left": "15px",
|
||||
"max-width": $(window).width() * 0.6,
|
||||
});
|
||||
// Remove the arrow from the tooltip.
|
||||
$(".tooltip-arrow").remove();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user