Pushing the error message to the bottom of the elements.

This commit is contained in:
MattMo 2021-06-17 09:41:36 -07:00
parent cc85d858f3
commit 5201de2769

View File

@ -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");