Also updating the position of the bottom unread indicator

This commit is contained in:
Asaad Mahmood
2015-08-31 19:33:39 +05:00
committed by Christopher Speller
parent 0141c351ca
commit 8d6c354811
2 changed files with 1 additions and 2 deletions

View File

@@ -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');

View File

@@ -59,7 +59,7 @@
top: 66px;
}
.nav-pills__unread-indicator-bottom {
bottom: 0px;
bottom: 10px;
}
.nav {