Fix floating recepient bar hiding when switching to settings pages

(imported from commit 9a643075197a53e84df196c3dcc1ce04766d3d4e)
This commit is contained in:
Allen Rabinovich 2014-02-06 15:36:45 -07:00
parent 235baf5187
commit 2c56e692a2
2 changed files with 26 additions and 1 deletions

View File

@ -91,6 +91,7 @@ a {
width: 100%;
position: fixed;
z-index: 98;
left: 0px;
}
.column-left,
@ -2108,11 +2109,19 @@ div.floating_recipient {
border-collapse: separate;
width: 100%;
position: relative;
top: 50px;
/* Needs body background because the child row becomes transparent when faded */
background: #f4f5f4;
}
.floating_recipient .message_header_private_message .message-header-contents {
margin-left: 10px;
margin-right: 8px;
}
#floating_recipient_bar {
top: 50px;
}
#bottom_whitespace {
display: block;
height: 300px;

View File

@ -91,6 +91,22 @@ var page_params = {{ page_params }};
<div class="column-middle">
<div class="column-middle-inner tab-content">
<div class="tab-pane active" id="home">
<div class="fixed-app" id="floating_recipient_bar">
<div class="app-main recipient_bar_content">
<div class="column-middle column-overlay recipient-bar-main">
<div class="floating_recipient">
<div style="display: none;" id="current_label_stream" class="recipient_row">
<div class="message_header_colorblock"></div>
<div class="message_label_clickable message_header message_header_stream right_part"></div>
</div>
<div style="display: none;" id="current_label_private_message" class="recipient_row">
<div class="message_header_colorblock message_header_private_message"></div>
<div class="message_label_clickable message_header message_header_private_message right_part"></div>
</div>
</div>
</div>
</div>
</div>
{% include "zerver/home.html" %}
</div>
<div class="tab-pane" id="subscriptions">