From e109128570a8fa54a4ed10e2c60a4a1681351e3e Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Sat, 22 Mar 2014 11:37:21 -0500 Subject: [PATCH] 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. --- public/js/services/notificationServices.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/services/notificationServices.js b/public/js/services/notificationServices.js index c67770e8f0..e35ca9f242 100644 --- a/public/js/services/notificationServices.js +++ b/public/js/services/notificationServices.js @@ -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. }); };