From 60e018e97276a4843f5c1b1931d86dcfb13dc85d Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Mon, 4 Dec 2017 13:29:55 -0800 Subject: [PATCH] sidebars: Add 1px of vertical margin to all
  • . MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the list slightly less dense (9%) and ensures that the borders of hovered items and active items don’t touch each other. --- static/styles/left-sidebar.css | 4 ++++ static/styles/right-sidebar.css | 1 + 2 files changed, 5 insertions(+) diff --git a/static/styles/left-sidebar.css b/static/styles/left-sidebar.css index 4d80c46fef..708a841bf9 100644 --- a/static/styles/left-sidebar.css +++ b/static/styles/left-sidebar.css @@ -53,6 +53,10 @@ font-weight: normal; } +.left-sidebar li { + margin: 1px 0px; +} + .left-sidebar li a:hover { text-decoration: none; } diff --git a/static/styles/right-sidebar.css b/static/styles/right-sidebar.css index caf8604b83..b634c24a04 100644 --- a/static/styles/right-sidebar.css +++ b/static/styles/right-sidebar.css @@ -41,6 +41,7 @@ list-style-type: none; border-radius: 4px; + margin: 1px 0px; } #user_presences .arrow {