mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-23 22:27:06 +00:00
Fixes #390 added fixed notification area to top
This commit is contained in:
parent
1fa00fb658
commit
fb90106f7e
3 changed files with 8 additions and 1 deletions
|
|
@ -156,6 +156,7 @@ setupGrowlNotifications = (model) ->
|
|||
#don't show notifications if user dead
|
||||
return if user.get('stats.lvl') == 0
|
||||
$.bootstrapGrowl html,
|
||||
ele: '#notification-area',
|
||||
type: type # (null, 'info', 'error', 'success')
|
||||
top_offset: 20
|
||||
align: 'right' # ('left', 'right', or 'center')
|
||||
|
|
|
|||
|
|
@ -191,4 +191,9 @@ html,body,p,h1,ul,li,table,tr,th,td
|
|||
.notification-action
|
||||
vertical-align: baseline
|
||||
#reset-modal
|
||||
z-index:1500
|
||||
z-index:1500
|
||||
#notification-area
|
||||
position: fixed;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 1001;
|
||||
|
|
@ -309,6 +309,7 @@ do a find for the string after "→"
|
|||
|
||||
<Body:>
|
||||
<br/>
|
||||
<div id="notification-area"></div>
|
||||
<div id=wrap class="container-fluid">
|
||||
|
||||
<app:alerts />
|
||||
|
|
|
|||
Loading…
Reference in a new issue