From 2f46b80005cb97a0d0eebb8ada1204641de8be2c Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Thu, 10 Jun 2021 04:55:20 +0000 Subject: [PATCH] left_sidebar: Use padding instead of margin around clickable icons. For create stream icon specially, this is useful to allow user having some extra space around the icon to click. This fixes the bug that you can have the tooltip of "Add streams" and by hovering at the bottom of `+` icon but clicking on it shows stream search. --- static/styles/left_sidebar.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css index 43c7759a9c..a52c76a5cf 100644 --- a/static/styles/left_sidebar.css +++ b/static/styles/left_sidebar.css @@ -59,8 +59,8 @@ li.show-more-topics { .streams_filter_icon { float: right; opacity: 0.5; - margin-top: 3px; - margin-left: 10px; + padding: 3px; + margin-left: 7px; &:hover { opacity: 1;