sciactive / pnotify

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

Empty string renders weird padding #270

Closed vicary closed 7 years ago

vicary commented 7 years ago

Hide element on empty string.

hperrin commented 7 years ago

We actually would want to keep it there if an empty string is passed, so that it can be used with CSS's ::after pseudo element and content style. Also, if someone is passing an empty string, they probably mean for it to be rendered.