scroll_to_bottom_button: Use unicode icon for right arrow.

This commit is contained in:
Aman Agrawal
2022-02-21 08:56:30 +00:00
committed by Tim Abbott
parent 75d54206e6
commit bab9e50581
2 changed files with 9 additions and 1 deletions

View File

@@ -203,7 +203,9 @@ function initialize_compose_box() {
embedded: $("#compose").attr("data-embedded") === "",
file_upload_enabled: page_params.max_file_upload_size_mib > 0,
giphy_enabled: giphy.is_giphy_enabled(),
scroll_to_bottom_key: common.has_mac_keyboard() ? "Fn + Right arrow" : "End",
scroll_to_bottom_key: common.has_mac_keyboard()
? "Fn + <span class='tooltip_right_arrow'>→</span>"
: "End",
}),
);
$(`.enter_sends_${user_settings.enter_sends}`).show();

View File

@@ -3146,3 +3146,9 @@ select.inline_select_topic_edit {
}
}
}
.tooltip_right_arrow {
position: relative;
top: -1px;
font-weight: 600;
}