sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 513 forks source link

Title and Text swapping places! #277

Closed ZENUAV closed 6 years ago

ZENUAV commented 7 years ago

I have installed pnotify using NuGet and have included the js and ccs in my page, so it's all working.

However when I run the following, the Title and Text are swapped in their positions??

    new PNotify({
        title: 'Regular Notice',
        text: 'Check me out! I\'m a notice.',
        styling: "fontawesome",
        type: "success",
        icon: 'fa fa-bug'
    });

i.e. Text goes at top near icon and Title underneath??

Am I doing something wrong??

codymullins commented 7 years ago

@ZENUAV can you open a fiddle for this? Using your exact code, it appears correctly for me.

image

hperrin commented 6 years ago

The code on Nuget is very outdated. I don't know how to make a Nuget package, so I can't update it.