From c9b05a2a84ab611294beff55fc5f082d962f6b82 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Mon, 15 Aug 2016 16:06:52 -0700 Subject: [PATCH] Removing the leading border-top in sidebar items. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- static/styles/zulip.css | 4 ++++ templates/zerver/right-sidebar.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 29c11ad112..5847713a60 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -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; diff --git a/templates/zerver/right-sidebar.html b/templates/zerver/right-sidebar.html index 1726d72973..a141150cda 100644 --- a/templates/zerver/right-sidebar.html +++ b/templates/zerver/right-sidebar.html @@ -1,4 +1,5 @@