mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Also updating the position of the bottom unread indicator
This commit is contained in:
committed by
Christopher Speller
parent
0141c351ca
commit
8d6c354811
@@ -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');
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
top: 66px;
|
||||
}
|
||||
.nav-pills__unread-indicator-bottom {
|
||||
bottom: 0px;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
|
||||
Reference in New Issue
Block a user