From 1f513d72187735b1672b3c5da587ab31d3b190a1 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 13 Oct 2013 16:52:00 +0100 Subject: [PATCH] Fixed scrolling over jgrowl --- public/res/styles/main.less | 7 +++++-- public/res/utils.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/public/res/styles/main.less b/public/res/styles/main.less index db4fc3c4..efd4a564 100644 --- a/public/res/styles/main.less +++ b/public/res/styles/main.less @@ -139,7 +139,7 @@ a { } .close { - .transition(~"opacity ease-in-out .15s"); + .transition(opacity ease-in-out .15s); } .list-group .nav { @@ -1293,10 +1293,13 @@ input[type="file"] { div.jGrowl { z-index: 1040; font-size: inherit; + &.bottom-right { + right: 30px; + } div.jGrowl-notification, div.jGrowl-closer { background-color: @jgrowl-bg-color; width: @jgrowl-width; - margin: 20px 30px; + margin: 20px 0; padding: 15px 20px; -ms-filter: none; filter: none; diff --git a/public/res/utils.js b/public/res/utils.js index a2acb0a8..10940e2a 100644 --- a/public/res/utils.js +++ b/public/res/utils.js @@ -72,7 +72,7 @@ define([ if(value === undefined) { return undefined; } - value = parseInt(value); + value = parseInt(value, 10); if(isNaN(value) || (min !== undefined && value < min) || (max !== undefined && value > max)) { inputError(element, event); return undefined;