mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Use fixed sized spinner
This commit is contained in:
parent
63ac1093bc
commit
8c40432e18
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ define [
|
|||
add: (element) ->
|
||||
h = element.height()
|
||||
w = element.width()
|
||||
size = Math.floor(0.5 * Math.min(h, w))
|
||||
size = 64
|
||||
spinner = $('<div class="pdfng-spinner" style="position: absolute; top: 50%; left:50%; transform: translateX(-50%) translateY(-50%);"><i class="fa fa-spinner fa-spin" style="color: #999"></i></div>')
|
||||
spinner.css({'font-size' : size + 'px'})
|
||||
element.append(spinner)
|
||||
|
|
Loading…
Reference in a new issue