mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Fix showing the private message floating recipient bar
(imported from commit 1ee76153dfe72627cbe43ea07b746407e5461da7)
This commit is contained in:
		@@ -578,7 +578,7 @@ function replace_floating_recipient_bar(desired_label) {
 | 
			
		||||
        if (desired_label.children(".message_header_stream").length !== 0) {
 | 
			
		||||
            new_label = $("#current_label_stream");
 | 
			
		||||
            other_label = $("#current_label_private_message");
 | 
			
		||||
            header = desired_label.children(".message_header_stream.right_part");
 | 
			
		||||
            header = desired_label.children(".message_header_stream");
 | 
			
		||||
 | 
			
		||||
            $("#current_label_stream .message_header_colorblock").css(
 | 
			
		||||
                "background-color",
 | 
			
		||||
@@ -587,9 +587,9 @@ function replace_floating_recipient_bar(desired_label) {
 | 
			
		||||
        } else {
 | 
			
		||||
            new_label = $("#current_label_private_message");
 | 
			
		||||
            other_label = $("#current_label_stream");
 | 
			
		||||
            header = desired_label.children(".message_header_private_message.right_part");
 | 
			
		||||
            header = desired_label.children(".message_header_private_message");
 | 
			
		||||
        }
 | 
			
		||||
        new_label.find(".right_part").replaceWith(header.clone());
 | 
			
		||||
        new_label.find(".message_header").replaceWith(header.clone());
 | 
			
		||||
        other_label.css('display', 'none');
 | 
			
		||||
        new_label.css('display', 'block');
 | 
			
		||||
        new_label.attr("zid", rows.id(desired_label));
 | 
			
		||||
 
 | 
			
		||||
@@ -832,16 +832,12 @@ td.pointer {
 | 
			
		||||
.stream_topic {
 | 
			
		||||
    background-color: #e2e2e2;
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    padding: 3px 4px 2px 10px;
 | 
			
		||||
    padding: 3px 6px 2px 12px;
 | 
			
		||||
    margin-left: -5px;
 | 
			
		||||
    height: 17px;
 | 
			
		||||
    line-height: 17px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.stream-topic {
 | 
			
		||||
    line-height: 17px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.summary_row .message_header{
 | 
			
		||||
    padding: 5px 0px 4px 5px;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user