diff --git a/src/main/resources/org/richfaces/renderkit/html/css/jquery.pnotify.xcss b/src/main/resources/org/richfaces/renderkit/html/css/jquery.pnotify.xcss index f9f925e..5cebfa8 100644 --- a/src/main/resources/org/richfaces/renderkit/html/css/jquery.pnotify.xcss +++ b/src/main/resources/org/richfaces/renderkit/html/css/jquery.pnotify.xcss @@ -88,6 +88,9 @@ html > body .rf-ny { .rf-ny-te { display: block; } +.rf-ny-fcl { + clear: both; +} .rf-ny-ic { display: none; float: left; diff --git a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js index 6e02376..f55bf56 100644 --- a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js +++ b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js @@ -572,6 +572,9 @@ if (opts.pnotify_text === false) pnotify.text_container.hide(); + //Append div with clear:both class + $14("
", {"class":"rf-ny-fcl"}).appendTo(pnotify.container); + // Set width and min height. if (typeof opts.pnotify_width == "string") pnotify.css("width", opts.pnotify_width);