mirror of https://github.com/zulip/zulip.git
left_sidebar: Show Direct Messages controls on DM area hover.
This commit is contained in:
parent
34ff1de338
commit
9e8d908a37
|
@ -258,4 +258,12 @@ export function initialize(): void {
|
||||||
|
|
||||||
clear_search();
|
clear_search();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".direct-messages-container").on("mouseenter", () => {
|
||||||
|
$("#direct-messages-section-header").addClass("hover-over-dm-section");
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".direct-messages-container").on("mouseleave", () => {
|
||||||
|
$("#direct-messages-section-header").removeClass("hover-over-dm-section");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -259,6 +259,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.hover-over-dm-section,
|
||||||
&.zoom-in,
|
&.zoom-in,
|
||||||
&:hover {
|
&:hover {
|
||||||
#compose-new-direct-message,
|
#compose-new-direct-message,
|
||||||
|
|
Loading…
Reference in New Issue