From 8d6c35481124d7e30bdb559f440c48b3e5eb4e0d Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 31 Aug 2015 19:33:39 +0500 Subject: Also updating the position of the bottom unread indicator --- web/react/components/sidebar.jsx | 1 - web/sass-files/sass/partials/_sidebar--left.scss | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'web') diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 8dd192893..5b74165f3 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -278,7 +278,6 @@ module.exports = React.createClass({ var lastUnreadElement = $(this.refs[this.lastUnreadChannel].getDOMNode()); if (lastUnreadElement.position().top > container.height()) { - $(this.refs.bottomUnreadIndicator.getDOMNode()).css('bottom', '0'); $(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'initial'); } else { $(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'none'); diff --git a/web/sass-files/sass/partials/_sidebar--left.scss b/web/sass-files/sass/partials/_sidebar--left.scss index 6b827eaee..432b8eb46 100644 --- a/web/sass-files/sass/partials/_sidebar--left.scss +++ b/web/sass-files/sass/partials/_sidebar--left.scss @@ -59,7 +59,7 @@ top: 66px; } .nav-pills__unread-indicator-bottom { - bottom: 0px; + bottom: 10px; } .nav { -- cgit v1.2.3-1-g7c22