mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-23 22:27:06 +00:00
fix(alerts): Align alerts better with new toolbar
Changes the top offset for Experience, Gold, etc. alerts so that they don't obscure the currency set in the new top toolbar.
This commit is contained in:
parent
450a4e4ff5
commit
e109128570
1 changed files with 2 additions and 2 deletions
|
|
@ -7,12 +7,12 @@ angular.module("notificationServices", [])
|
|||
$.bootstrapGrowl(html, {
|
||||
ele: '#notification-area',
|
||||
type: type || 'warning', //('info', 'text', 'warning', 'success', 'gp', 'xp', 'hp', 'lvl', 'death', 'mp', 'crit')
|
||||
top_offset: 20,
|
||||
top_offset: 60,
|
||||
align: 'right', //('left', 'right', or 'center')
|
||||
width: 250, //(integer, or 'auto')
|
||||
delay: (type=='error') ? 0 : 7000,
|
||||
allow_dismiss: true,
|
||||
stackup_spacing: 10 // spacing between consecutive stacecked growls.
|
||||
stackup_spacing: 10 // spacing between consecutive stacked growls.
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue