Pushing the error message to the bottom of the elements.
This commit is contained in:
parent
cc85d858f3
commit
5201de2769
@ -33,6 +33,7 @@ function notify(target, type, msg, duration) {
|
||||
notification.classList.add("ignite-html-validate");
|
||||
notification.classList.add(type);
|
||||
notification.style.setProperty("left", "50%");
|
||||
notification.style.setProperty("top", "100%");
|
||||
notification.style.setProperty("position", "absolute");
|
||||
notification.style.setProperty("transform", "translate(-50%, 0)");
|
||||
notification.style.setProperty("display", "flex");
|
||||
|
Loading…
x
Reference in New Issue
Block a user