X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/baea92b2064fdac014f9fdcba47e7af4b068b08e..refs/pull/753/head:/resources/assets/js/components/notification.js diff --git a/resources/assets/js/components/notification.js b/resources/assets/js/components/notification.js index daef5bd6f..c352a9c85 100644 --- a/resources/assets/js/components/notification.js +++ b/resources/assets/js/components/notification.js @@ -18,7 +18,7 @@ class Notification { show(textToShow = '') { this.elem.removeEventListener('transitionend', this.hideCleanup); this.textElem.textContent = textToShow; - this.elem.style.display = 'block'; + this.elem.style.display = 'grid'; setTimeout(() => { this.elem.classList.add('showing'); }, 1);