Removing the leading border-top in sidebar items.

When the feedback module is hidden the #userlist_header border would
brush against the navbar. Check if the feedback header isn’t there and
remove the border top.
This commit is contained in:
Brock Whittaker 2016-08-15 16:06:52 -07:00 committed by Tim Abbott
parent bfa987f26e
commit c9b05a2a84
2 changed files with 8 additions and 0 deletions

View File

@ -3178,6 +3178,10 @@ li.expanded_private_message {
margin-right: 10px;
}
.sidebar-items:first-of-type #userlist-header {
border-top: none;
}
#streams_header {
margin-right: 0px;
padding-left: 10px;

View File

@ -1,4 +1,5 @@
<div class="right-sidebar" id="right-sidebar">
<div class="alert-box">
<div class="alert alert_sidebar alert-error home-error-bar" id="connection-error">
<strong>{{ _('Unable to connect to') }} {{product_name}}.</strong> {{ _('Updates may be delayed') }}.
<br /><br /> {{ _('Retrying soon') }}... <br /><br /> <a class="restart_get_updates_button">{{ _('Try now') }}</a>.
@ -21,6 +22,8 @@
</div>
<div class="alert alert_sidebar alert-error home-error-bar" id="home-error"></div>
<div class="alert alert_sidebar alert-error home-error-bar" id="reloading-application"></div>
</div>
<div class="sidebar-items">
{% if enable_feedback %}
<div id="feedback_section">
<button type="button" class="btn btn-default btn-large" id="feedback_button">
@ -45,4 +48,5 @@
<ul id="group-pms" class="filters scrolling_list">
</ul>
</div>
</div>
</div>