Improve reconnecting message

This commit is contained in:
James Allen 2014-07-02 16:41:29 +01:00
parent f256c96195
commit e870d7190b
2 changed files with 7 additions and 1 deletions

View file

@ -79,6 +79,7 @@ define [], () ->
countdown = 3 + Math.floor(Math.random() * 7)
@$scope.$apply () =>
@$scope.connection.reconnecting = false
@$scope.connection.reconnection_countdown = countdown
setTimeout(=>

View file

@ -17,10 +17,15 @@
.global-alerts {
position: absolute;
z-index: 20;
top: (@line-height-computed / 4);
top: 2px;
width: 400px;
left: 50%;
margin-left: -200px;
.alert {
padding: (@line-height-computed / 4);
font-size: 14px;
margin-bottom: (@line-height-computed / 4);
}
}
#chat-wrapper {