mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:05:27 -05:00
Improve reconnecting message
This commit is contained in:
parent
f256c96195
commit
e870d7190b
2 changed files with 7 additions and 1 deletions
|
@ -79,6 +79,7 @@ define [], () ->
|
|||
countdown = 3 + Math.floor(Math.random() * 7)
|
||||
|
||||
@$scope.$apply () =>
|
||||
@$scope.connection.reconnecting = false
|
||||
@$scope.connection.reconnection_countdown = countdown
|
||||
|
||||
setTimeout(=>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue