message_edit: Fix cursor style on hover in edit area.

Fixes #3938.
This commit is contained in:
sanchi-t
2023-12-24 11:35:59 +05:30
committed by Tim Abbott
parent 664f29b4f1
commit 446ba4d6df
3 changed files with 9 additions and 3 deletions

View File

@@ -66,12 +66,12 @@ export function initialize() {
$("#main_div").on("mouseover", ".sender_info_hover", function () {
const $row = $(this).closest(".message_row");
$row.addClass("sender_name_hovered");
$row.addClass("sender_info_hovered");
});
$("#main_div").on("mouseout", ".sender_info_hover", function () {
const $row = $(this).closest(".message_row");
$row.removeClass("sender_name_hovered");
$row.removeClass("sender_info_hovered");
});
function handle_video_preview_mouseenter($elem) {

View File

@@ -144,6 +144,7 @@ $time_column_min_width: 42px; /* + padding */
". reactions . . . ";
&.content_edit_mode {
cursor: default;
/* Set the controls area to 0 to give more space
to the edit/source view area. */
grid-template-columns: $avatar_column_width minmax(0, 1fr) 0 8px minmax(

View File

@@ -2102,10 +2102,15 @@ td.pointer {
}
}
.sender_name_hovered {
.sender_info_hovered {
.sender_name {
cursor: pointer;
color: hsl(200deg 100% 40%);
}
.message-avatar {
cursor: pointer;
}
}
.always_visible_topic_edit,