Also updating the position of the bottom unread indicator
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
0141c351ca
Коммит
8d6c354811
@@ -278,7 +278,6 @@ module.exports = React.createClass({
|
|||||||
var lastUnreadElement = $(this.refs[this.lastUnreadChannel].getDOMNode());
|
var lastUnreadElement = $(this.refs[this.lastUnreadChannel].getDOMNode());
|
||||||
|
|
||||||
if (lastUnreadElement.position().top > container.height()) {
|
if (lastUnreadElement.position().top > container.height()) {
|
||||||
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('bottom', '0');
|
|
||||||
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'initial');
|
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'initial');
|
||||||
} else {
|
} else {
|
||||||
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'none');
|
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'none');
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
top: 66px;
|
top: 66px;
|
||||||
}
|
}
|
||||||
.nav-pills__unread-indicator-bottom {
|
.nav-pills__unread-indicator-bottom {
|
||||||
bottom: 0px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user