mirror of https://github.com/zulip/zulip.git
message_view_header: Remove usage of nth-last-child selector.
This commit aims to remove all usage of the nth-last-child selector
related to the message_view_header, continuing the change from
65acbfa4c4
.
This commit is contained in:
parent
89be686d9e
commit
4afcd15baa
|
@ -93,7 +93,7 @@ function bind_title_area_handlers() {
|
|||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$("#message_view_header span:nth-last-child(2)").on("click", (e) => {
|
||||
$("#message_view_header .navbar-click-opens-search").on("click", (e) => {
|
||||
if (document.getSelection().type === "Range") {
|
||||
// Allow copy/paste to work normally without interference.
|
||||
return;
|
||||
|
|
|
@ -341,7 +341,7 @@ body.night-mode {
|
|||
}
|
||||
}
|
||||
|
||||
#message_view_header span:nth-last-child(2):hover + .search_closed {
|
||||
#message_view_header .navbar-click-opens-search:hover + .search_closed {
|
||||
color: hsl(0, 0%, 100%);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue